From 404472e50b2430c3d67ce4544c02ee0c55cec95b Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Wed, 13 Aug 2014 15:50:06 -0400 Subject: [PATCH] [dev.power64] runtime: fix C prototype for cmallocgc LGTM=minux R=minux CC=golang-codereviews https://golang.org/cl/122520043 --- src/pkg/runtime/malloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.50.0