From: Sterling Hughes Date: Mon, 26 May 2003 01:03:51 +0000 (+0000) Subject: sascha points out this is more purdy-like X-Git-Tag: RELEASE_1_0_2~587 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=97b5a5df4fbb5459cd338e19b90dbf9c79b519ee;p=php sascha points out this is more purdy-like --- diff --git a/ext/simplexml/simplexml.c b/ext/simplexml/simplexml.c index 29e7a4ffe5..ff5ec00298 100644 --- a/ext/simplexml/simplexml.c +++ b/ext/simplexml/simplexml.c @@ -222,7 +222,7 @@ sxe_property_get_ptr(zval *object, zval *member TSRMLS_DC) property = sxe_property_read(object, member TSRMLS_CC); zval_add_ref(&property); - memcpy(property_ptr, &property, sizeof(zval *)); + *property_ptr = property; return property_ptr; }