diff options
Diffstat (limited to 'xpath.c')
-rw-r--r-- | xpath.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -12386,7 +12386,7 @@ xmlXPathNodeCollectAndTest(xmlXPathParserContextPtr ctxt, default: break; } - } else if (cur->type == type) { + } else if (cur->type == (xmlElementType) type) { if (cur->type == XML_NAMESPACE_DECL) XP_TEST_HIT_NS else |