--- 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;