From: Ian Lance Taylor Date: Thu, 25 Feb 2010 18:13:09 +0000 (-0800) Subject: Use consistent types in .h file and .c file. X-Git-Tag: weekly.2010-03-04~38 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=bada653f4d9d9140cf52188d520328d234707317;p=gostls13.git Use consistent types in .h file and .c file. R=rsc CC=golang-dev https://golang.org/cl/224053 --- 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; }