diff options
Diffstat (limited to 'ext/dom/nodelist.c')
| -rw-r--r-- | ext/dom/nodelist.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/ext/dom/nodelist.c b/ext/dom/nodelist.c index 965f4c7878..68292d1983 100644 --- a/ext/dom/nodelist.c +++ b/ext/dom/nodelist.c @@ -1,6 +1,6 @@ /* +----------------------------------------------------------------------+ - | PHP Version 5 | + | PHP Version 7 | +----------------------------------------------------------------------+ | Copyright (c) 1997-2014 The PHP Group | +----------------------------------------------------------------------+ @@ -84,7 +84,8 @@ int dom_nodelist_length_read(dom_object *obj, zval *retval TSRMLS_DC) } else { nodep = nodep->children; } - curnode = dom_get_elements_by_tag_name_ns_raw(nodep, objmap->ns, objmap->local, &count, -1); + curnode = dom_get_elements_by_tag_name_ns_raw( + nodep, (char *) objmap->ns, (char *) objmap->local, &count, -1); } } } @@ -152,7 +153,8 @@ PHP_FUNCTION(dom_nodelist_item) } else { nodep = nodep->children; } - itemnode = dom_get_elements_by_tag_name_ns_raw(nodep, objmap->ns, objmap->local, &count, index); + itemnode = dom_get_elements_by_tag_name_ns_raw( + nodep, (char *) objmap->ns, (char *) objmap->local, &count, index); } } } |
