Fixed one more Visual Studio compiler warning.
This commit is contained in:
parent
735fd14ea4
commit
b311ee44ad
|
@ -1224,7 +1224,7 @@ static PHYSFS_sint64 zip64_find_end_of_central_dir(PHYSFS_Io *io,
|
||||||
if ((offset < pos) && (pos > 4))
|
if ((offset < pos) && (pos > 4))
|
||||||
{
|
{
|
||||||
const size_t maxbuflen = 256 * 1024;
|
const size_t maxbuflen = 256 * 1024;
|
||||||
size_t len = pos - offset;
|
size_t len = (size_t) (pos - offset);
|
||||||
PHYSFS_uint8 *buf = NULL;
|
PHYSFS_uint8 *buf = NULL;
|
||||||
PHYSFS_sint32 i;
|
PHYSFS_sint32 i;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue