--- zlib-1.2.3/zutil.c.old 2005-06-13 09:37:49 +0900 +++ zlib-1.2.3/zutil.c 2008-04-17 00:46:05 +0900 @@ -303,7 +303,7 @@ unsigned size; { if (opaque) items += size - size; /* make compiler happy */ - return sizeof(uInt) > 2 ? (voidpf)malloc(items * size) : + return sizeof(uInt) > 2 ? (voidpf)calloc(items, size) : (voidpf)calloc(items, size); }