summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerick Rethans <derick@php.net>2004-03-16 21:39:43 +0000
committerDerick Rethans <derick@php.net>2004-03-16 21:39:43 +0000
commitf66c62cef8d3ba4ff3fdd26e63f63819618e207b (patch)
treefa0bebaae8c5ee6a97882ffb4fe16fe2a2c6933f
parentf59ac64430767798055b5f5463eb694b78e2fffb (diff)
downloadphp-git-f66c62cef8d3ba4ff3fdd26e63f63819618e207b.tar.gz
- Fixed compilation on the 'broken' IRIX native compiler.
-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 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;
}