Ivana Varekova 6369f01
diff -up unzip-5.52/globals.h.pom unzip-5.52/globals.h
Ivana Varekova 6369f01
--- unzip-5.52/globals.h.pom	2008-01-22 14:54:15.000000000 +0100
Ivana Varekova 6369f01
+++ unzip-5.52/globals.h	2008-01-22 14:54:26.000000000 +0100
Ivana Varekova 6369f01
@@ -183,7 +183,7 @@ typedef struct Globals {
Ivana Varekova 6369f01
     int newzip;           /* reset in extract.c; used in crypt.c */
Ivana Varekova 6369f01
     Z_OFF_T   real_ecrec_offset;
Ivana Varekova 6369f01
     Z_OFF_T   expect_ecrec_offset;
Ivana Varekova 6369f01
-    long csize;           /* used by decompr. (NEXTBYTE): must be signed */
Ivana Varekova 6369f01
+    long long csize;           /* used by decompr. (NEXTBYTE): must be signed */
Ivana Varekova 6369f01
     long used_csize;      /* used by extract_or_test_member(), explode() */
Ivana Varekova 6369f01
 
Ivana Varekova 6369f01
 #ifdef DLL
Ivana Varekova 6369f01
diff -up unzip-5.52/process.c.pom unzip-5.52/process.c
Ivana Varekova 6369f01
--- unzip-5.52/process.c.pom	2008-01-22 14:54:15.000000000 +0100
Ivana Varekova 6369f01
+++ unzip-5.52/process.c	2008-01-22 14:54:47.000000000 +0100
Ivana Varekova 6369f01
@@ -1288,7 +1288,7 @@ int process_local_file_hdr(__G)    /* re
Ivana Varekova 6369f01
         G.lrec.ucsize = G.pInfo->uncompr_size;
Ivana Varekova 6369f01
     }
Ivana Varekova 6369f01
 
Ivana Varekova 6369f01
-    G.csize = (long)G.lrec.csize;
Ivana Varekova 6369f01
+    G.csize = (long long)G.lrec.csize;
Ivana Varekova 6369f01
 
Ivana Varekova 6369f01
     return PK_COOL;
Ivana Varekova 6369f01