summaryrefslogtreecommitdiff
path: root/zip
diff options
context:
space:
mode:
Diffstat (limited to 'zip')
-rw-r--r--zip/zip.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/zip/zip.cpp b/zip/zip.cpp
index 75cb37a..14698ea 100644
--- a/zip/zip.cpp
+++ b/zip/zip.cpp
@@ -1,5 +1,5 @@
/* ZIP plugin for Tux Commander
- * version 0.5.2, designed for ZipArchive v3.2.0
+ * version 0.5.3, designed for ZipArchive v3.2.0
* Copyright (C) 2008 Tomas Bzatek <tbzatek@users.sourceforge.net>
* Check for updates on tuxcmd.sourceforge.net
*
@@ -47,8 +47,8 @@
-#define VERSION "0.5.2"
-#define BUILD_DATE "2008-11-14"
+#define VERSION "0.5.3"
+#define BUILD_DATE "2008-11-15"
#define DEFAULT_BLOCK_SIZE 65536
@@ -205,7 +205,8 @@ void build_global_filelist(struct TVFSGlobs *globs)
struct TVFSItem *item = (struct TVFSItem*)malloc(sizeof(struct TVFSItem));
memset(item, 0, sizeof(struct TVFSItem));
- item->iSize = (u_int64_t)fh->m_uUncomprSize;
+ item->iSize = (int64_t)fh->m_uUncomprSize;
+ item->iPackedSize = (int64_t)fh->m_uComprSize;
if (fh->IsDirectory())
item->ItemType = vDirectory;
else item->ItemType = vRegular;