Sophie

Sophie

distrib > Mageia > 1 > i586 > media > core-updates-src > by-pkgid > 87c49812936f51a8b188b48a1a31cbf8 > files > 32

php-5.3.14-1.mga1.src.rpm

--- Zend/zend.h	2009-03-18 02:08:12.000000000 +0100
+++ Zend/zend.h.oden	2009-03-27 12:04:15.000000000 +0100
@@ -671,7 +671,7 @@ END_EXTERN_C()
 	(z)->refcount__gc = 1;	\
 	(z)->is_ref__gc = 0;
 
-#define INIT_ZVAL(z) z = zval_used_for_init;
+#define INIT_ZVAL(z) memcpy(&z, &zval_used_for_init, sizeof(zval_used_for_init))
 
 #define ALLOC_INIT_ZVAL(zp)						\
 	ALLOC_ZVAL(zp);		\