summaryrefslogtreecommitdiff
path: root/ext/simplexml
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@php.net>2005-10-06 06:27:27 +0000
committerDmitry Stogov <dmitry@php.net>2005-10-06 06:27:27 +0000
commit362f3fd7ea624ae0286dcbcc0caaceba1e57a550 (patch)
tree7e1d00e43553b68a6cf3ca616d7c04f0d9ba01db /ext/simplexml
parent93dcfb79ded9d2328461ebaa6dc9959a46e2f773 (diff)
downloadphp-git-362f3fd7ea624ae0286dcbcc0caaceba1e57a550.tar.gz
Fixed compilation error
Diffstat (limited to 'ext/simplexml')
-rw-r--r--ext/simplexml/simplexml.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/simplexml/simplexml.c b/ext/simplexml/simplexml.c
index 9f54263c72..c0d52144e7 100644
--- a/ext/simplexml/simplexml.c
+++ b/ext/simplexml/simplexml.c
@@ -1083,7 +1083,7 @@ static zval *sxe_get_value(zval *z TSRMLS_DC)
MAKE_STD_ZVAL(retval);
- if (sxe_object_cast(z, retval, IS_STRING, 0 TSRMLS_CC)==FAILURE) {
+ if (sxe_object_cast(z, retval, IS_STRING TSRMLS_CC)==FAILURE) {
zend_error(E_ERROR, "Unable to cast node to string");
/* FIXME: Should not be fatal */
}