summarylogtreecommitdiffstats
path: root/quickviewer-1.1.8-fix-nonwindows-64bit-type-mismatch.patch
diff options
context:
space:
mode:
Diffstat (limited to 'quickviewer-1.1.8-fix-nonwindows-64bit-type-mismatch.patch')
-rw-r--r--quickviewer-1.1.8-fix-nonwindows-64bit-type-mismatch.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/quickviewer-1.1.8-fix-nonwindows-64bit-type-mismatch.patch b/quickviewer-1.1.8-fix-nonwindows-64bit-type-mismatch.patch
new file mode 100644
index 00000000000..5282c5c96ee
--- /dev/null
+++ b/quickviewer-1.1.8-fix-nonwindows-64bit-type-mismatch.patch
@@ -0,0 +1,11 @@
+--- quickviewer/fileloader/fileloader7zarchive.cpp.orig 2020-06-15 20:27:13.351622773 -0700
++++ quickviewer/fileloader/fileloader7zarchive.cpp 2020-06-15 22:28:42.301550922 -0700
+@@ -336,7 +336,7 @@
+ // item.GetStringProperty(PropertyIndexEnum::kpidGroup, strVal);
+ // prop.Group = QString::fromStdWString(strVal);
+
+- uint64_t uintval;
++ unsigned __int64 uintval;
+ item.GetUInt64Property(PropertyIndexEnum::kpidSize, uintval);
+ prop.size = (size_t) uintval;
+ prop.pre_total = (size_t) pre_total;