diff options
Diffstat (limited to 'libgo/runtime/go-new.c')
-rw-r--r-- | libgo/runtime/go-new.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libgo/runtime/go-new.c b/libgo/runtime/go-new.c index 8f25c57..657978c 100644 --- a/libgo/runtime/go-new.c +++ b/libgo/runtime/go-new.c @@ -9,13 +9,13 @@ #include "malloc.h" void * -__go_new (size_t size) +__go_new (uintptr_t size) { return runtime_mallocgc (size, 0, 1, 1); } void * -__go_new_nopointers (size_t size) +__go_new_nopointers (uintptr_t size) { return runtime_mallocgc (size, FlagNoPointers, 1, 1); } |