diff options
Diffstat (limited to 'x2p/util.c')
-rw-r--r-- | x2p/util.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/x2p/util.c b/x2p/util.c index e2b8bba862..0c6f99f795 100644 --- a/x2p/util.c +++ b/x2p/util.c @@ -24,7 +24,7 @@ static char nomem[] = "Out of memory!\n"; Malloc_t -safemalloc(size_t size) +safemalloc(MEM_SIZE size) { Malloc_t ptr; @@ -48,7 +48,7 @@ safemalloc(size_t size) /* paranoid version of realloc */ Malloc_t -saferealloc(void *where, size_t size) +saferealloc(Malloc_t where, MEM_SIZE size) { Malloc_t ptr; @@ -73,7 +73,7 @@ saferealloc(void *where, size_t size) /* safe version of free */ Free_t -safefree(void *where) +safefree(Malloc_t where) { #ifdef DEBUGGING if (debug & 128) |