diff --git a/src/pike_memory.c b/src/pike_memory.c index 01c0e146ccb5f2647875f782cbcca2d2f5c2eb98..222373d23bd1c3e109491a7f10f3ed578ab15a51 100644 --- a/src/pike_memory.c +++ b/src/pike_memory.c @@ -10,7 +10,7 @@ #include "pike_macros.h" #include "gc.h" -RCSID("$Id: pike_memory.c,v 1.72 2000/08/02 23:24:57 hubbe Exp $"); +RCSID("$Id: pike_memory.c,v 1.73 2000/08/04 00:44:57 grubba Exp $"); /* strdup() is used by several modules, so let's provide it */ #ifndef HAVE_STRDUP @@ -609,7 +609,7 @@ static long softlim_should_be=0; #endif -PMOD_EXPORT char *debug_xalloc(long size) +PMOD_EXPORT char *debug_xalloc(size_t size) { char *ret; if(!size) @@ -630,7 +630,7 @@ PMOD_EXPORT char *debug_xalloc(long size) return 0; } -char *debug_qalloc(long size) +char *debug_qalloc(size_t size) { char *ret; if(!size) return 0; diff --git a/src/pike_memory.h b/src/pike_memory.h index a8421f9c13f104414022ae6d5822f90052033e83..52dbc1ec98afbc9805d2bdf6d51a2f2d8ea13bd5 100644 --- a/src/pike_memory.h +++ b/src/pike_memory.h @@ -5,7 +5,7 @@ \*/ /* - * $Id: pike_memory.h,v 1.14 2000/07/28 17:16:55 hubbe Exp $ + * $Id: pike_memory.h,v 1.15 2000/08/04 00:44:57 grubba Exp $ */ #ifndef MEMORY_H #define MEMORY_H @@ -96,7 +96,7 @@ PMOD_EXPORT void memfill(char *to, char *from, INT32 fromlen, INT32 offset); -PMOD_EXPORT char *debug_xalloc(long size); +PMOD_EXPORT char *debug_xalloc(size_t size); #undef BLOCK_ALLOC