]> granicus.if.org Git - php/commitdiff
Fixed compilation error
authorDmitry Stogov <dmitry@php.net>
Thu, 6 Oct 2005 06:27:27 +0000 (06:27 +0000)
committerDmitry Stogov <dmitry@php.net>
Thu, 6 Oct 2005 06:27:27 +0000 (06:27 +0000)
ext/simplexml/simplexml.c

index 9f54263c72cb91da5d6e715560dd9e610d7fb834..c0d52144e7f57752e0d3bddda85b03e146099200 100644 (file)
@@ -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 */
        }