diff options
author | Tim Angus <tim@ngus.net> | 2009-10-03 12:31:59 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-03 00:16:03 +0000 |
commit | 304d4258d3a49488f570b8ad71931faa7e5d40ba (patch) | |
tree | bf9ec15bd9154305ff9fab2943b3daf25024f8a5 /src/qcommon/unzip.c | |
parent | 6e90e4e7861f5cb354487d1fe0f1fd06c385308e (diff) |
* Merge ioq3-r1498, by popular demand
Diffstat (limited to 'src/qcommon/unzip.c')
-rw-r--r-- | src/qcommon/unzip.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/qcommon/unzip.c b/src/qcommon/unzip.c index 90f5354d..7669aa95 100644 --- a/src/qcommon/unzip.c +++ b/src/qcommon/unzip.c @@ -1109,7 +1109,8 @@ static int unzlocal_getShort (FILE* fin, uLong *pX) { short v; - fread( &v, sizeof(v), 1, fin ); + size_t size; + size = fread( &v, sizeof(v), 1, fin ); *pX = LittleShort( v); return UNZ_OK; @@ -1138,7 +1139,8 @@ static int unzlocal_getLong (FILE *fin, uLong *pX) { int v; - fread( &v, sizeof(v), 1, fin ); + size_t size; + size = fread( &v, sizeof(v), 1, fin ); *pX = LittleLong( v); return UNZ_OK; |