Files
ports/archivers/xmill/files/patch-XMill_PPMDI.cpp
2026-10-04 04:07:15 +00:00

12 lines
284 B
C++

--- 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;
}