From 47575f759f36aa5e460cfb1d6aa6a7f590a28837 Mon Sep 17 00:00:00 2001 From: Kim Kulling Date: Mon, 26 Jun 2023 16:08:12 +0200 Subject: [PATCH] Update unzip.c - Fix compiler warnings --- 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 3036b470b..e703549d2 100644 --- a/contrib/unzip/unzip.c +++ b/contrib/unzip/unzip.c @@ -1038,7 +1038,7 @@ local int unz64local_GetCurrentFileInfoInternal (unzFile file, /* ZIP64 extra fields */ if (headerId == 0x0001) { - uLong uL; + uLong uL1; if(file_info.uncompressed_size == MAXU32) { @@ -1062,7 +1062,7 @@ local int unz64local_GetCurrentFileInfoInternal (unzFile file, if(file_info.disk_num_start == MAXU32) { /* Disk Start Number */ - if (unz64local_getLong(&s->z_filefunc, s->filestream,&uL) != UNZ_OK) + if (unz64local_getLong(&s->z_filefunc, s->filestream,&uL1) != UNZ_OK) err=UNZ_ERRNO; }