summaryrefslogtreecommitdiff
path: root/include/u-boot
diff options
context:
space:
mode:
Diffstat (limited to 'include/u-boot')
-rw-r--r--include/u-boot/zlib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/u-boot/zlib.h b/include/u-boot/zlib.h
index b611fe7..e23ceb5 100644
--- a/include/u-boot/zlib.h
+++ b/include/u-boot/zlib.h
@@ -505,7 +505,7 @@ typedef gz_header FAR *gz_headerp;
#define Z_DEFLATED 8
/* The deflate compression method (the only one supported in this version) */
-#define Z_NULL 0 /* for initializing zalloc, zfree, opaque */
+#define Z_NULL (void *)0 /* for initializing zalloc, zfree, opaque */
/* basic functions */