From: Dmitry Stogov Date: Thu, 6 Oct 2005 06:27:27 +0000 (+0000) Subject: Fixed compilation error X-Git-Tag: RELEASE_0_9_1~234 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=362f3fd7ea624ae0286dcbcc0caaceba1e57a550;p=php Fixed compilation error --- 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 */ }