diff options
Diffstat (limited to 'Zend/zend_operators.c')
-rw-r--r-- | Zend/zend_operators.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Zend/zend_operators.c b/Zend/zend_operators.c index a74be6b6a3..4309e78e3c 100644 --- a/Zend/zend_operators.c +++ b/Zend/zend_operators.c @@ -839,7 +839,7 @@ ZEND_API int bitwise_not_function(zval *result, zval *op1 TSRMLS_DC) return SUCCESS; } if (op1->type == IS_STRING) { - int i; + zend_uint i; result->type = IS_STRING; result->value.str.val = estrndup(op1->value.str.val, op1->value.str.len); @@ -861,7 +861,7 @@ ZEND_API int bitwise_or_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) if (op1->type == IS_STRING && op2->type == IS_STRING) { zval *longer, *shorter; char *result_str; - int i, result_len; + zend_uint i, result_len; if (op1->value.str.len >= op2->value.str.len) { longer = op1; @@ -900,7 +900,7 @@ ZEND_API int bitwise_and_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) if (op1->type == IS_STRING && op2->type == IS_STRING) { zval *longer, *shorter; char *result_str; - int i, result_len; + zend_uint i, result_len; if (op1->value.str.len >= op2->value.str.len) { longer = op1; @@ -941,7 +941,7 @@ ZEND_API int bitwise_xor_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) if (op1->type == IS_STRING && op2->type == IS_STRING) { zval *longer, *shorter; char *result_str; - int i, result_len; + zend_uint i, result_len; if (op1->value.str.len >= op2->value.str.len) { longer = op1; |