Fix incorrect cast in minizip's ioapi.c.

This commit is contained in:
Mark Adler 2022-10-06 15:40:56 -07:00
parent 2d283adfee
commit 9b291c9f01

View File

@ -208,7 +208,7 @@ static long ZCALLBACK fseek64_file_func (voidpf opaque, voidpf stream, ZPOS64_T
}
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;