aboutsummaryrefslogtreecommitdiff
path: root/archivers/xmill/files/patch-XMill_PPMDI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/xmill/files/patch-XMill_PPMDI.cpp')
-rw-r--r--archivers/xmill/files/patch-XMill_PPMDI.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/archivers/xmill/files/patch-XMill_PPMDI.cpp b/archivers/xmill/files/patch-XMill_PPMDI.cpp
new file mode 100644
index 000000000000..0340d73155f1
--- /dev/null
+++ b/archivers/xmill/files/patch-XMill_PPMDI.cpp
@@ -0,0 +1,11 @@
+--- XMill/PPMDI.cpp.orig 2016-07-26 12:48:05 UTC
++++ XMill/PPMDI.cpp
+@@ -245,7 +245,7 @@ int PPMDI::uncompress(unsigned char *dst
+
+ cleanup:
+ *outused = j;
+- *inused = inlen - (int)endptr + (int)src;
++ *inused = inlen - (intptr_t)endptr + (intptr_t)src;
+ return ret;
+ }
+