From 97b5a5df4fbb5459cd338e19b90dbf9c79b519ee Mon Sep 17 00:00:00 2001 From: Sterling Hughes Date: Mon, 26 May 2003 01:03:51 +0000 Subject: [PATCH] sascha points out this is more purdy-like --- ext/simplexml/simplexml.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.40.0