]> granicus.if.org Git - php/commitdiff
- Fixed compilation on the 'broken' IRIX native compiler.
authorDerick Rethans <derick@php.net>
Tue, 16 Mar 2004 21:39:43 +0000 (21:39 +0000)
committerDerick Rethans <derick@php.net>
Tue, 16 Mar 2004 21:39:43 +0000 (21:39 +0000)
ext/simplexml/simplexml.c

index c4773ae7f02c1e0707a3f2aa95c4c7d80720be1b..54c924cb8ed469cc4d9c70b2707d46a102ea611c 100644 (file)
@@ -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;
        }