cvs: ZendEngine2 / zend_execute_API.c
| From: | Andi Gutmans | Date: | Tue, 28 Sep 2004 19:46:57 +0000 |
| Subject: | cvs: ZendEngine2 / zend_execute_API.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-3056@lists.php.net to get a copy of this message | ||
andi Tue Sep 28 15:46:57 2004 EDT
Modified files:
/ZendEngine2 zend_execute_API.c
Log:
- Return the warning until we check if we can change the type of str.len
http://cvs.php.net/diff.php/ZendEngine2/zend_execute_API.c?r1=1.300&r2=1.301&ty=u
Index: ZendEngine2/zend_execute_API.c
diff -u ZendEngine2/zend_execute_API.c:1.300 ZendEngine2/zend_execute_API.c:1.301
--- ZendEngine2/zend_execute_API.c:1.300 Mon Sep 27 04:50:41 2004
+++ ZendEngine2/zend_execute_API.c Tue Sep 28 15:46:57 2004
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_execute_API.c,v 1.300 2004/09/27 08:50:41 helly Exp $ */
+/* $Id: zend_execute_API.c,v 1.301 2004/09/28 19:46:57 andi Exp $ */
#include <stdio.h>
#include <signal.h>
@@ -479,7 +479,7 @@
continue;
}
- if (const_value.type == IS_STRING && (uint)const_value.value.str.len == str_index_len-1
&&
+ if (const_value.type == IS_STRING && const_value.value.str.len == str_index_len-1
&&
!strncmp(const_value.value.str.val, str_index, str_index_len)) {
/* constant value is the same as its name */
zval_dtor(&const_value);