Commit bada653f authored by Ian Lance Taylor's avatar Ian Lance Taylor

Use consistent types in .h file and .c file.

R=rsc
CC=golang-dev
https://golang.org/cl/224053
parent 859e4d51
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
// 3-level radix tree mapping page ids to Span*. // 3-level radix tree mapping page ids to Span*.
void void
MHeapMap_Init(MHeapMap *m, void *(*allocator)(size_t)) MHeapMap_Init(MHeapMap *m, void *(*allocator)(uintptr))
{ {
m->allocator = allocator; m->allocator = allocator;
} }
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
// 3-level radix tree mapping page ids to Span*. // 3-level radix tree mapping page ids to Span*.
void void
MHeapMap_Init(MHeapMap *m, void *(*allocator)(size_t)) MHeapMap_Init(MHeapMap *m, void *(*allocator)(uintptr))
{ {
m->allocator = allocator; m->allocator = allocator;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment