opnsense-ports/textproc/rtfx/files/patch-src-xmlfixups.cpp
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

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