From 05527a1b1ef39014b44281fbbbec5deabb4be106 Mon Sep 17 00:00:00 2001 From: Mark Adler Date: Mon, 17 Apr 2023 14:08:55 -0700 Subject: Fix cast in minizip's ioapi.c for Windows. --- contrib/minizip/ioapi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } ret = 0; - if(FSEEKO_FUNC((FILE *)stream, (z_off_t)offset, fseek_origin) != 0) + if(FSEEKO_FUNC((FILE *)stream, (z_off64_t)offset, fseek_origin) != 0) ret = -1; return ret; -- cgit v1.2.3-55-g6feb