diff options
Diffstat (limited to '')
-rw-r--r-- | contrib/minizip/ioapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/minizip/ioapi.c b/contrib/minizip/ioapi.c index d4bc020..49ec64a 100644 --- a/contrib/minizip/ioapi.c +++ b/contrib/minizip/ioapi.c | |||
@@ -59,7 +59,7 @@ ZPOS64_T call_ztell64 (const zlib_filefunc64_32_def* pfilefunc,voidpf filestream | |||
59 | else | 59 | else |
60 | { | 60 | { |
61 | uLong tell_uLong = (*(pfilefunc->ztell32_file))(pfilefunc->zfile_func64.opaque,filestream); | 61 | uLong tell_uLong = (*(pfilefunc->ztell32_file))(pfilefunc->zfile_func64.opaque,filestream); |
62 | if ((tell_uLong) == ((uLong)-1)) | 62 | if ((tell_uLong) == MAXU32) |
63 | return (ZPOS64_T)-1; | 63 | return (ZPOS64_T)-1; |
64 | else | 64 | else |
65 | return tell_uLong; | 65 | return tell_uLong; |