ports/archivers/xmill/files/patch-XMill_PPMDI.cpp
Mathieu Arnold 9fa9eb9ac7 Cleanup patches, a* categories.
Rename them to follow the make makepatch naming, and regenerate them.

With hat:	portmgr
Sponsored by:	Absolight
2016-07-26 16:51:15 +00:00

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