diff options
| author | Ilia Alshanetsky <iliaa@php.net> | 2003-01-30 23:36:08 +0000 |
|---|---|---|
| committer | Ilia Alshanetsky <iliaa@php.net> | 2003-01-30 23:36:08 +0000 |
| commit | 7a3c54fc369a05f7df6d88605f46b487695ff2ba (patch) | |
| tree | 3c56af9cb9e5106ca948903fc253ee7cc63de8cc /Zend/zend_operators.c | |
| parent | 242a9a47c7771febfd92d6e61b0c897d3060f12f (diff) | |
| download | php-git-7a3c54fc369a05f7df6d88605f46b487695ff2ba.tar.gz | |
Fixed compiler warning regarding signed/unsigned int comparisons.
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 e497947389..b526e454a5 100644 --- a/Zend/zend_operators.c +++ b/Zend/zend_operators.c @@ -834,7 +834,7 @@ ZEND_API int bitwise_not_function(zval *result, zval *op1 TSRMLS_DC) 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 @@ 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; - zend_uint i, result_len; + int i, result_len; if (op1->value.str.len >= op2->value.str.len) { longer = op1; @@ -895,7 +895,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; - zend_uint i, result_len; + int i, result_len; if (op1->value.str.len >= op2->value.str.len) { longer = op1; @@ -936,7 +936,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; - zend_uint i, result_len; + int i, result_len; if (op1->value.str.len >= op2->value.str.len) { longer = op1; |
