1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00
freebsd-ports/textproc/rtfx/files/patch-src-xmlfixups.cpp
John Marino 65980e508c Stage textproc/rtfx and unbreak 64-bit arches
PR:		192667
Submitted by:	Jan Beich
2014-08-15 07:06:28 +00:00

12 lines
378 B
C++

--- src/xmlfixups.cpp~
+++ src/xmlfixups.cpp
@@ -453,7 +453,7 @@ void XmlFixups::runPassTwo(const DOM::Do
// Mark each node as we've seen it so we don't
// do a given element twice
- if((int)el.getUserData() == PASS_TWO)
+ if((intptr_t)el.getUserData() == (intptr_t)PASS_TWO)
continue;
el.setUserData((void*)PASS_TWO);