Skip to content

Commit

Permalink
Actually, that's FOUR gigabytes.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Aug 22, 2010
1 parent f7a8d92 commit 024784e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/archiver_zip.c
Expand Up @@ -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.
Expand Down

0 comments on commit 024784e

Please sign in to comment.