Fixed GCC_WARN_64_TO_32_BIT_CONVERSION warning

This commit is contained in:
nicked
2014-10-31 11:08:04 +01:00
parent 874ebd8651
commit d68c99b890
+1 -1
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;