(deps/rzlib/unzip.c) Get rid of shadowed declaration warning

This commit is contained in:
Twinaphex 2014-10-20 23:19:31 +02:00
parent 79ff736e4c
commit 526b0a56d7
1 changed files with 3 additions and 2 deletions

5
deps/rzlib/unzip.c vendored
View File

@ -209,13 +209,14 @@ local int unz64local_getByte OF((
voidpf filestream, voidpf filestream,
int *pi)); int *pi));
local int unz64local_getByte(const zlib_filefunc64_32_def* pzlib_filefunc_def, voidpf filestream, int *pi) local int unz64local_getByte(const zlib_filefunc64_32_def* pzlib_filefunc_def,
voidpf filestream, int *_pi)
{ {
unsigned char c; unsigned char c;
int err = (int)ZREAD64(*pzlib_filefunc_def,filestream,&c,1); int err = (int)ZREAD64(*pzlib_filefunc_def,filestream,&c,1);
if (err==1) if (err==1)
{ {
*pi = (int)c; *_pi = (int)c;
return UNZ_OK; return UNZ_OK;
} }
else else