Fix cast in minizip's ioapi.c for Windows.

This commit is contained in:
Mark Adler 2023-04-17 14:08:55 -07:00
parent 9b962a45dd
commit 05527a1b1e

View File

@ -188,7 +188,7 @@ static long ZCALLBACK fseek64_file_func(voidpf opaque, voidpf stream, ZPOS64_T o
} }
ret = 0; 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; ret = -1;
return ret; return ret;