aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2010-02-25 10:13:09 -0800
committerIan Lance Taylor <iant@golang.org>2010-02-25 10:13:09 -0800
commitbada653f4d9d9140cf52188d520328d234707317 (patch)
treebc8f5163e301126dc447c1235b74e0deff94021a
parent859e4d51c30dce31eaa0d11ad1477a5465a194e7 (diff)
downloadgo-bada653f4d9d9140cf52188d520328d234707317.tar.gz
go-bada653f4d9d9140cf52188d520328d234707317.zip
Use consistent types in .h file and .c file.
R=rsc CC=golang-dev https://golang.org/cl/224053
-rw-r--r--src/pkg/runtime/mheapmap32.c2
-rw-r--r--src/pkg/runtime/mheapmap64.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/pkg/runtime/mheapmap32.c b/src/pkg/runtime/mheapmap32.c
index 13491595da..1e3598cbea 100644
--- a/src/pkg/runtime/mheapmap32.c
+++ b/src/pkg/runtime/mheapmap32.c
@@ -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;
}
diff --git a/src/pkg/runtime/mheapmap64.c b/src/pkg/runtime/mheapmap64.c
index 97e20b6d20..2f856ee179 100644
--- a/src/pkg/runtime/mheapmap64.c
+++ b/src/pkg/runtime/mheapmap64.c
@@ -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;
}