diff options
author | Mark Adler <madler@alumni.caltech.edu> | 2023-04-17 14:08:55 -0700 |
---|---|---|
committer | Mark Adler <madler@alumni.caltech.edu> | 2023-04-17 14:35:40 -0700 |
commit | 05527a1b1ef39014b44281fbbbec5deabb4be106 (patch) | |
tree | 26e143f51f1949af9141091c8efb93ac6beee96b | |
parent | 9b962a45dd361cbebcac723de9b295e770925a94 (diff) | |
download | zlib-05527a1b1ef39014b44281fbbbec5deabb4be106.tar.gz zlib-05527a1b1ef39014b44281fbbbec5deabb4be106.tar.bz2 zlib-05527a1b1ef39014b44281fbbbec5deabb4be106.zip |
Fix cast in minizip's ioapi.c for Windows.
-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 d3c1ead..5550136 100644 --- a/contrib/minizip/ioapi.c +++ b/contrib/minizip/ioapi.c | |||
@@ -188,7 +188,7 @@ static long ZCALLBACK fseek64_file_func(voidpf opaque, voidpf stream, ZPOS64_T o | |||
188 | } | 188 | } |
189 | ret = 0; | 189 | ret = 0; |
190 | 190 | ||
191 | if(FSEEKO_FUNC((FILE *)stream, (z_off_t)offset, fseek_origin) != 0) | 191 | if(FSEEKO_FUNC((FILE *)stream, (z_off64_t)offset, fseek_origin) != 0) |
192 | ret = -1; | 192 | ret = -1; |
193 | 193 | ||
194 | return ret; | 194 | return ret; |