summaryrefslogtreecommitdiff
path: root/debugXML.c
diff options
context:
space:
mode:
Diffstat (limited to 'debugXML.c')
-rw-r--r--debugXML.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/debugXML.c b/debugXML.c
index 6c7d9a40..dbdd1f37 100644
--- a/debugXML.c
+++ b/debugXML.c
@@ -567,7 +567,7 @@ xmlDebugDumpOneNode(FILE * output, xmlNodePtr node, int depth)
break;
case XML_TEXT_NODE:
fprintf(output, shift);
- if (node->name == xmlStringTextNoenc)
+ if (node->name == (const xmlChar *) xmlStringTextNoenc)
fprintf(output, "TEXT no enc\n");
else
fprintf(output, "TEXT\n");