cvsuser 02/01/09 11:13:59
Modified: . memory.c
Log:
Signedness whoops.
Courtesy of Simon Glover <[EMAIL PROTECTED]>
Revision Changes Path
1.17 +2 -2 parrot/memory.c
Index: memory.c
===================================================================
RCS file: /home/perlcvs/parrot/memory.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -w -r1.16 -r1.17
--- memory.c 8 Jan 2002 19:50:17 -0000 1.16
+++ memory.c 9 Jan 2002 19:13:59 -0000 1.17
@@ -1,7 +1,7 @@
/* memory.c
* Copyright: (When this is determined...it will go here)
* CVS Info
- * $Id: memory.c,v 1.16 2002/01/08 19:50:17 dan Exp $
+ * $Id: memory.c,v 1.17 2002/01/09 19:13:59 dan Exp $
* Overview:
* The memory (mem) API handles memory allocation
* Data Structure and Algorithms:
@@ -81,7 +81,7 @@
void *
mem_realloc(void *from, UINTVAL fromsize, UINTVAL tosize) {
- INTVAL copysize = (fromsize > tosize ? tosize : fromsize);
+ UINTVAL copysize = (fromsize > tosize ? tosize : fromsize);
void *mem;
mem = mem_sys_allocate(copysize);
if (!mem) {