summaryrefslogtreecommitdiff
path: root/libmwaw/libmwaw-0.1.9.patch.1
diff options
context:
space:
mode:
Diffstat (limited to 'libmwaw/libmwaw-0.1.9.patch.1')
-rw-r--r--libmwaw/libmwaw-0.1.9.patch.115
1 files changed, 15 insertions, 0 deletions
diff --git a/libmwaw/libmwaw-0.1.9.patch.1 b/libmwaw/libmwaw-0.1.9.patch.1
new file mode 100644
index 000000000000..e5eb6da8ecf8
--- /dev/null
+++ b/libmwaw/libmwaw-0.1.9.patch.1
@@ -0,0 +1,15 @@
+--- a/src/lib/MWAWTable.hxx
++++ b/src/lib/MWAWTable.hxx
+@@ -117,7 +117,11 @@ protected:
+ - c2.m_cell->box().size()[m_coord];
+ if (diffF < 0) return true;
+ if (diffF > 0) return false;
+- return ssize_t(c1.m_cell) < ssize_t(c2.m_cell);
++#ifdef _WIN64
++ return __int64(c1.m_cell) < __int64(c2.m_cell);
++#else
++ return long(c1.m_cell) < long(c2.m_cell);
++#endif
+ }
+
+ //! the coord to compare