]> Cypherpunks repositories - gostls13.git/commitdiff
Use consistent types in .h file and .c file.
authorIan Lance Taylor <iant@golang.org>
Thu, 25 Feb 2010 18:13:09 +0000 (10:13 -0800)
committerIan Lance Taylor <iant@golang.org>
Thu, 25 Feb 2010 18:13:09 +0000 (10:13 -0800)
R=rsc
CC=golang-dev
https://golang.org/cl/224053

src/pkg/runtime/mheapmap32.c
src/pkg/runtime/mheapmap64.c

index 13491595dad91c4eff96885413639719c8f44cb5..1e3598cbea05a795e1f5181bbce506baa4799914 100644 (file)
@@ -10,7 +10,7 @@
 
 // 3-level radix tree mapping page ids to Span*.
 void
-MHeapMap_Init(MHeapMap *m, void *(*allocator)(size_t))
+MHeapMap_Init(MHeapMap *m, void *(*allocator)(uintptr))
 {
        m->allocator = allocator;
 }
index 97e20b6d2085edccfa2b77beaeef24f4afe4399f..2f856ee179f4484be863fe14a3d55b8b7edd1c99 100644 (file)
@@ -10,7 +10,7 @@
 
 // 3-level radix tree mapping page ids to Span*.
 void
-MHeapMap_Init(MHeapMap *m, void *(*allocator)(size_t))
+MHeapMap_Init(MHeapMap *m, void *(*allocator)(uintptr))
 {
        m->allocator = allocator;
 }