From: Russ Cox Date: Wed, 13 Aug 2014 19:50:06 +0000 (-0400) Subject: [dev.power64] runtime: fix C prototype for cmallocgc X-Git-Tag: go1.5beta1~2684^2~25^2~42 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=404472e50b2430c3d67ce4544c02ee0c55cec95b;p=gostls13.git [dev.power64] runtime: fix C prototype for cmallocgc LGTM=minux R=minux CC=golang-codereviews https://golang.org/cl/122520043 --- diff --git a/src/pkg/runtime/malloc.c b/src/pkg/runtime/malloc.c index d56d0dcf31..1e133168b1 100644 --- a/src/pkg/runtime/malloc.c +++ b/src/pkg/runtime/malloc.c @@ -21,7 +21,7 @@ MHeap runtime·mheap; #pragma dataflag NOPTR MStats runtime·memstats; -void runtime·cmallocgc(uintptr size, Type *typ, uint32 flag, void **ret); +void runtime·cmallocgc(uintptr size, Type *typ, intgo flag, void **ret); void* runtime·mallocgc(uintptr size, Type *typ, uint32 flag)