cvs: ZendEngine2 / zend_operators.h

[email protected] ("Jani Taskinen") Sun, 10 May 2009 21:55:07 -0000
Newsgroups php.zend-engine.cvs
Message-ID <cvsjani1241992507@cvsserver>
jani		Sun May 10 21:55:07 2009 UTC

  Modified files:              
    /ZendEngine2	zend_operators.h 
  Log:
  MFB: missing part of the GC stuff
  
http://cvs.php.net/viewvc.cgi/ZendEngine2/zend_operators.h?r1=1.137&r2=1.138&diff_format=u
Index: ZendEngine2/zend_operators.h
diff -u ZendEngine2/zend_operators.h:1.137 ZendEngine2/zend_operators.h:1.138
--- ZendEngine2/zend_operators.h:1.137	Thu Mar 26 20:01:38 2009
+++ ZendEngine2/zend_operators.h	Sun May 10 21:55:07 2009
@@ -17,7 +17,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: zend_operators.h,v 1.137 2009/03/26 20:01:38 felipe Exp $ */
+/* $Id: zend_operators.h,v 1.138 2009/05/10 21:55:07 jani Exp $ */
 
 #ifndef ZEND_OPERATORS_H
 #define ZEND_OPERATORS_H
@@ -433,8 +433,8 @@
 	}
 
 #define convert_scalar_to_number_ex(ppzv)							\
-	if (Z_TYPE_PP(ppzv)!=IS_LONG && Z_TYPE_PP(ppzv)!=IS_DOUBLE) {		\
-		if (!(*ppzv)->is_ref) {										\
+	if (Z_TYPE_PP(ppzv)!=IS_LONG && Z_TYPE_PP(ppzv)!=IS_DOUBLE) {	\
+		if (!Z_ISREF_PP(ppzv)) {									\
 			SEPARATE_ZVAL(ppzv);									\
 		}															\
 		convert_scalar_to_number(*ppzv TSRMLS_CC);					\