Merge pull request #4848 from assimp/kimkulling/unzip_fix_compiler_warning

Update unzip.c
pull/4850/head^2
Kim Kulling 2022-12-23 14:07:04 +01:00 committed by GitHub
commit 883667c61a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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
#endif // _MSC_VER