Actually, that's FOUR gigabytes.
This commit is contained in:
parent
f7a8d9292c
commit
024784efbd
|
@ -375,7 +375,7 @@ static PHYSFS_sint64 zip_find_end_of_central_dir(void *in, PHYSFS_sint64 *len)
|
||||||
|
|
||||||
filelen = __PHYSFS_platformFileLength(in);
|
filelen = __PHYSFS_platformFileLength(in);
|
||||||
BAIL_IF_MACRO(filelen == -1, NULL, 0); /* !!! FIXME: unlocalized string */
|
BAIL_IF_MACRO(filelen == -1, NULL, 0); /* !!! FIXME: unlocalized string */
|
||||||
BAIL_IF_MACRO(filelen > 0xFFFFFFFF, "ZIP bigger than 2 gigs?!", 0);
|
BAIL_IF_MACRO(filelen > 0xFFFFFFFF, "ZIP bigger than 4 gigs?!", 0);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Jump to the end of the file and start reading backwards.
|
* Jump to the end of the file and start reading backwards.
|
||||||
|
|
Loading…
Reference in New Issue