Explorar o código

Actually, that's FOUR gigabytes.

Ryan C. Gordon %!s(int64=15) %!d(string=hai) anos
pai
achega
024784efbd
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/archiver_zip.c

+ 1 - 1
src/archiver_zip.c

@@ -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.