Fix incorrect cast in minizip's ioapi.c.

pull/720/head
Mark Adler 2 years ago
parent 2d283adfee
commit 9b291c9f01
  1. 2
      contrib/minizip/ioapi.c

@ -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;

Loading…
Cancel
Save