cvs: ZendEngine2 / zend_operators.c
| From: | Ilia Alshanetsky | Date: | Thu, 30 Jan 2003 23:36:08 +0000 |
| Subject: | cvs: ZendEngine2 / zend_operators.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-859@lists.php.net to get a copy of this message | ||
iliaa Thu Jan 30 18:36:08 2003 EDT
Modified files:
/ZendEngine2 zend_operators.c
Log:
Fixed compiler warning regarding signed/unsigned int comparisons.
Index: ZendEngine2/zend_operators.c
diff -u ZendEngine2/zend_operators.c:1.141 ZendEngine2/zend_operators.c:1.142
--- ZendEngine2/zend_operators.c:1.141 Tue Jan 14 16:29:23 2003
+++ ZendEngine2/zend_operators.c Thu Jan 30 18:36:08 2003
@@ -834,7 +834,7 @@
return SUCCESS;
}
if (op1->type == IS_STRING) {
- zend_uint i;
+ int i;
result->type = IS_STRING;
result->value.str.val = estrndup(op1->value.str.val, op1->value.str.len);
@@ -856,7 +856,7 @@
if (op1->type == IS_STRING && op2->type == IS_STRING) {
zval *longer, *shorter;
char *result_str;
- zend_uint i, result_len;
+ int i, result_len;
if (op1->value.str.len >= op2->value.str.len) {
longer = op1;
@@ -895,7 +895,7 @@
if (op1->type == IS_STRING && op2->type == IS_STRING) {
zval *longer, *shorter;
char *result_str;
- zend_uint i, result_len;
+ int i, result_len;
if (op1->value.str.len >= op2->value.str.len) {
longer = op1;
@@ -936,7 +936,7 @@
if (op1->type == IS_STRING && op2->type == IS_STRING) {
zval *longer, *shorter;
char *result_str;
- zend_uint i, result_len;
+ int i, result_len;
if (op1->value.str.len >= op2->value.str.len) {
longer = op1;