commit | 9b291c9f013f99ad494ffecf4295cb2f594a18e3 | [log] [tgz] |
---|---|---|
author | Mark Adler <fork@madler.net> | Thu Oct 06 15:40:56 2022 -0700 |
committer | Mark Adler <fork@madler.net> | Thu Oct 06 20:43:18 2022 -0700 |
tree | cdb443482e49f7a4f75fb0c91af56a0d8c856db5 | |
parent | 2d283adfee7b944860ebf38f307a18ff6265b086 [diff] |
Fix incorrect cast in minizip's ioapi.c.
diff --git a/contrib/minizip/ioapi.c b/contrib/minizip/ioapi.c index baa6776..814a6fd 100644 --- a/contrib/minizip/ioapi.c +++ b/contrib/minizip/ioapi.c
@@ -208,7 +208,7 @@ } ret = 0; - if(FSEEKO_FUNC((FILE *)stream, (long)offset, fseek_origin) != 0) + if(FSEEKO_FUNC((FILE *)stream, (z_off_t)offset, fseek_origin) != 0) ret = -1; return ret;