{"thread":{"id":"43726","subject":"[PATCH] sparse fix: Using plain integer as NULL pointer","startedAt":"2006-11-18T12:06:56Z","lastAt":"2006-11-18T12:06:56Z","messageCount":1,"participants":["Rene Scharfe"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"297407","messageId":"455EF760.6040505@lsrfire.ath.cx","threadId":"43726","inReplyTo":null,"subject":"[PATCH] sparse fix: Using plain integer as NULL pointer","fromName":"Rene Scharfe","fromEmail":"rene.scharfe@lsrfire.ath.cx","sentAt":"2006-11-18T12:06:56Z","receivedAt":"2006-11-18T12:06:56Z","isPatch":true,"sender":{"key":"l.s.r@web.de","avatar":"https://avatars.githubusercontent.com/u/26122331?v=4"},"body":"Z_NULL is defined as 0, use a proper NULL pointer in its stead.\n\nSigned-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>\n---\n archive-zip.c |    2 +-\n 1 files changed, 1 insertions(+), 1 deletions(-)\n\ndiff --git a/archive-zip.c b/archive-zip.c\nindex 28e7352..ae5572a 100644\n--- a/archive-zip.c\n+++ b/archive-zip.c\n@@ -160,7 +160,7 @@ static int write_zip_entry(const unsigne\n \tvoid *buffer = NULL;\n \tvoid *deflated = NULL;\n \n-\tcrc = crc32(0, Z_NULL, 0);\n+\tcrc = crc32(0, NULL, 0);\n \n \tpath = construct_path(base, baselen, filename, S_ISDIR(mode), &pathlen);\n \tif (verbose)\n-- \n1.4.4\n"}]}