summarylogtreecommitdiffstats
path: root/quickviewer-1.1.8-fix-nonwindows-64bit-type-mismatch.patch
diff options
context:
space:
mode:
authorAndrew Munkres2020-06-16 02:03:27 -0700
committerAndrew Munkres2020-06-16 02:03:27 -0700
commit3584ba0662a484f2181287ad1dba7270adf5b9bf (patch)
treeb272383835fe946ef0184f7821132ada340ba49f /quickviewer-1.1.8-fix-nonwindows-64bit-type-mismatch.patch
parent3ca7579ca8fbf85aa7ed99afb0ea660a8cd19d8f (diff)
downloadaur-3584ba0662a484f2181287ad1dba7270adf5b9bf.tar.gz
Update to upstream's version 1.1.8
(Warning: it seems like navigating to a directory containing PDF files can cause this version of the application to hang.)
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;