summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a6e8a76)
raw | patch | inline | side by side (parent: a6e8a76)
author | Rene Scharfe <rene.scharfe@lsrfire.ath.cx> | |
Sat, 18 Nov 2006 12:06:56 +0000 (13:06 +0100) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sat, 18 Nov 2006 19:40:07 +0000 (11:40 -0800) |
Z_NULL is defined as 0, use a proper NULL pointer in its stead.
Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <junkio@cox.net>
archive-zip.c | patch | blob | history |
diff --git a/archive-zip.c b/archive-zip.c
index 28e7352e98eaa3bcbc3c86ce772bae35a605ceb2..ae5572ae208940637314b80e147dcfb03e76fee3 100644 (file)
--- a/archive-zip.c
+++ b/archive-zip.c
void *buffer = NULL;
void *deflated = NULL;
- crc = crc32(0, Z_NULL, 0);
+ crc = crc32(0, NULL, 0);
path = construct_path(base, baselen, filename, S_ISDIR(mode), &pathlen);
if (verbose)