From 89b5011759613ae77d4c8f79faf6e6e2f0c00c66 Mon Sep 17 00:00:00 2001 From: Kim Kulling Date: Fri, 23 Dec 2022 13:50:16 +0100 Subject: [PATCH] Update unzip.c - Fix compiler warning. --- contrib/unzip/unzip.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/unzip/unzip.c b/contrib/unzip/unzip.c index b2f045b0a..ba15257a9 100644 --- a/contrib/unzip/unzip.c +++ b/contrib/unzip/unzip.c @@ -1175,7 +1175,7 @@ extern int ZEXPORT unzOpenCurrentFile3(unzFile file, int *method, int *level, in pfile_in_zip_read_info->stream.zalloc = (alloc_func)0; pfile_in_zip_read_info->stream.zfree = (free_func)0; pfile_in_zip_read_info->stream.opaque = (voidpf)s; - pfile_in_zip_read_info->stream.next_in = 0; + pfile_in_zip_read_info->stream.next_in = (voidpf)0; pfile_in_zip_read_info->stream.avail_in = 0; #ifdef HAVE_APPLE_COMPRESSION @@ -1997,4 +1997,4 @@ extern int ZEXPORT unzEndOfFile(unzFile file) #ifdef _MSC_VER # pragma warning(pop) -#endif // _MSC_VER \ No newline at end of file +#endif // _MSC_VER