forked from Lainports/opnsense-ports
Taken from: https://github.com/freebsd/freebsd-ports.git Commit id: 5070672073b68be364139bc6b3a89100bd17d331
11 lines
378 B
C++
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);
|