]> Cypherpunks repositories - gostls13.git/commitdiff
[dev.power64] runtime: fix C prototype for cmallocgc
authorRuss Cox <rsc@golang.org>
Wed, 13 Aug 2014 19:50:06 +0000 (15:50 -0400)
committerRuss Cox <rsc@golang.org>
Wed, 13 Aug 2014 19:50:06 +0000 (15:50 -0400)
LGTM=minux
R=minux
CC=golang-codereviews
https://golang.org/cl/122520043

src/pkg/runtime/malloc.c

index d56d0dcf314f7c421bd2ec5c9d8c29b5e5e70668..1e133168b17cbcd05b0569ea323f6e7e8e1f0013 100644 (file)
@@ -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)