Kaynağa Gözat

Actually, that's FOUR gigabytes.

Ryan C. Gordon 15 yıl önce
ebeveyn
işleme
024784efbd
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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.