Fix implicit conversion warning

```
SSZipArchive/minizip/ioapi.c:195:33: Implicit conversion loses integer precision: 'ZPOS64_T' (aka 'unsigned long long') to 'long'
```
This commit is contained in:
Vincent Tourraine 2014-03-03 11:38:04 +01:00
parent d3c40f0e95
commit 47afe71fa2

View File

@ -192,7 +192,7 @@ static long ZCALLBACK fseek64_file_func (voidpf opaque, voidpf stream, ZPOS64_T
}
ret = 0;
if(fseeko64((FILE *)stream, offset, fseek_origin) != 0)
if(fseeko64((FILE *)stream, (long)offset, fseek_origin) != 0)
ret = -1;
return ret;