From b6bd0a6863a2d7740cb5c76214d0143bbd5ecfa8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?=
 <grubba@grubba.org>
Date: Fri, 4 Aug 2000 02:44:57 +0200
Subject: [PATCH] Type fix.

Rev: src/pike_memory.c:1.73
Rev: src/pike_memory.h:1.15
---
 src/pike_memory.c | 6 +++---
 src/pike_memory.h | 4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/pike_memory.c b/src/pike_memory.c
index 01c0e146cc..222373d23b 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 a8421f9c13..52dbc1ec98 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
 
-- 
GitLab