summaryrefslogtreecommitdiff
path: root/ext/dom/xml_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/dom/xml_common.h')
-rw-r--r--ext/dom/xml_common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dom/xml_common.h b/ext/dom/xml_common.h
index eb7b7e8909..325a5d9ef2 100644
--- a/ext/dom/xml_common.h
+++ b/ext/dom/xml_common.h
@@ -67,7 +67,7 @@ PHP_DOM_EXPORT xmlNodePtr dom_object_get_node(dom_object *obj);
__intern = Z_LIBXML_NODE_P(__id); \
if (__intern->node == NULL || !(__ptr = (__prtype)__intern->node->node)) { \
php_error_docref(NULL, E_WARNING, "Couldn't fetch %s", \
- __intern->std.ce->name->val);\
+ ZSTR_VAL(__intern->std.ce->name));\
RETURN_NULL();\
} \
}