For Programmers: Free Programming Magazines  


Home > Archive > PHP Zend Engine > July 2006 > cvs: ZendEngine2(PHP_5_2) / zend_operators.c









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author cvs: ZendEngine2(PHP_5_2) / zend_operators.c
Antony Dovgal

2006-07-18, 3:56 am

tony2001 Tue Jul 18 09:00:11 2006 UTC

Modified files: (Branch: PHP_5_2)
/ZendEngine2 zend_operators.c
Log:
fix logic


http://cvs.php.net/viewvc.cgi/ZendE...7&diff_format=u
Index: ZendEngine2/zend_operators.c
diff -u ZendEngine2/zend_operators.c:1.208.2.4.2.6 ZendEngine2/zend_operators.c:1.208.2.4.2.7
--- ZendEngine2/zend_operators.c:1.208.2.4.2.6 Tue Jul 18 08:17:28 2006
+++ ZendEngine2/zend_operators.c Tue Jul 18 09:00:10 2006
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/

-/* $Id: zend_operators.c,v 1.208.2.4.2.6 2006/07/18 08:17:28 tony2001 Exp $ */
+/* $Id: zend_operators.c,v 1.208.2.4.2.7 2006/07/18 09:00:10 tony2001 Exp $ */

#include <ctype.h>

@@ -188,7 +188,7 @@
}


-#define DVAL_TO_LVAL(d, l) ((l) = (d)) > LONG_MAX ? (unsigned long) (d) : (long) (d)
+#define DVAL_TO_LVAL(d, l) (l) = (((d) > LONG_MAX) ? (unsigned long) (d) : (long) (d))

#define zendi_convert_to_long(op, holder, result) \
if (op == result) { \
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com