Actually, that's FOUR gigabytes.

This commit is contained in:
Ryan C. Gordon 2010-08-21 20:05:22 -04:00
parent f7a8d9292c
commit 024784efbd
1 changed files with 1 additions and 1 deletions

View File

@ -375,7 +375,7 @@ static PHYSFS_sint64 zip_find_end_of_central_dir(void *in, PHYSFS_sint64 *len)
filelen = __PHYSFS_platformFileLength(in);
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.