summaryrefslogtreecommitdiff
path: root/Zend/zend_operators.c
diff options
context:
space:
mode:
authorHarald Radi <phanto@php.net>2002-04-23 18:06:54 +0000
committerHarald Radi <phanto@php.net>2002-04-23 18:06:54 +0000
commit51e797f1e36d1261c9bcd00fd21a72af21b5b507 (patch)
treecf6069e0c2f72a49b7d870f36a68700c507379a6 /Zend/zend_operators.c
parentfc851f342ac0cff05fcc520f275e175463865e33 (diff)
downloadphp-git-51e797f1e36d1261c9bcd00fd21a72af21b5b507.tar.gz
some type cleanup work
Diffstat (limited to 'Zend/zend_operators.c')
-rw-r--r--Zend/zend_operators.c8
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;