From: Derick Rethans Date: Tue, 16 Mar 2004 21:39:43 +0000 (+0000) Subject: - Fixed compilation on the 'broken' IRIX native compiler. X-Git-Tag: php-5.0.0RC1RC2~16 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f66c62cef8d3ba4ff3fdd26e63f63819618e207b;p=php - Fixed compilation on the 'broken' IRIX native compiler. --- diff --git a/ext/simplexml/simplexml.c b/ext/simplexml/simplexml.c index c4773ae7f0..54c924cb8e 100644 --- a/ext/simplexml/simplexml.c +++ b/ext/simplexml/simplexml.c @@ -1279,7 +1279,7 @@ SXE_METHOD(__construct) php_std_error_handling(); docp = xmlParseMemory(data, data_len); if (!docp) { - (php_libxml_node_object *)sxe->document = NULL; + ((php_libxml_node_object *)sxe)->document = NULL; zend_throw_exception(zend_exception_get_default(), "String could not be parsed as XML", 0 TSRMLS_CC); return; }