trunk: changeset 45

Sun, 03 Nov 2002 03:51:35 +0100

author
tuomov
date
Sun, 03 Nov 2002 03:51:35 +0100
changeset 42
4fdc7ea2bc38
parent 41
28628406763e
child 43
aad48c3d4966

trunk: changeset 45
(void*)+n fixed

misc.c file | annotate | diff | comparison | revisions
--- a/misc.c	Sun Nov 03 03:09:04 2002 +0100
+++ b/misc.c	Sun Nov 03 03:51:35 2002 +0100
@@ -34,7 +34,7 @@
 			return NULL;
 	
 		if(newsize>oldsize)
-			memset(p+oldsize, 0, newsize-oldsize);
+			memset((char*)p+oldsize, 0, newsize-oldsize);
 	}
 
 	return p;

mercurial