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

pull/809/head
Mark Adler 2 years ago
parent 9b962a45dd
commit 05527a1b1e
  1. 2
      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;

Loading…
Cancel
Save