summaryrefslogtreecommitdiff
path: root/src/xmlfixups.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/xmlfixups.cpp')
-rw-r--r--src/xmlfixups.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmlfixups.cpp b/src/xmlfixups.cpp
index 16b4b35..6ea8933 100644
--- a/src/xmlfixups.cpp
+++ b/src/xmlfixups.cpp
@@ -453,7 +453,7 @@ void XmlFixups::runPassTwo(const DOM::Document& doc)
// Mark each node as we've seen it so we don't
// do a given element twice
- if((int)el.getUserData() == PASS_TWO)
+ if((int)(unsigned long)el.getUserData() == PASS_TWO)
continue;
el.setUserData((void*)PASS_TWO);