diff options
author | Anatol Belski <ab@php.net> | 2014-08-27 15:31:48 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2014-08-27 20:49:31 +0200 |
commit | 3234480827b27ff5d3469a732167afd289632a96 (patch) | |
tree | 485ed0c4f5d35107a65ab193f3bc7c27806fbfca /ext/bcmath/bcmath.c | |
parent | ee552b628c2d9f9455ac85d7791b4b4e8e4ddeb2 (diff) | |
download | php-git-3234480827b27ff5d3469a732167afd289632a96.tar.gz |
first show to make 's' work with size_t
Diffstat (limited to 'ext/bcmath/bcmath.c')
-rw-r--r-- | ext/bcmath/bcmath.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/ext/bcmath/bcmath.c b/ext/bcmath/bcmath.c index a6775c8c84..51bb0597f2 100644 --- a/ext/bcmath/bcmath.c +++ b/ext/bcmath/bcmath.c @@ -208,7 +208,7 @@ PHP_FUNCTION(bcadd) char *left, *right; zend_long scale_param = 0; bc_num first, second, result; - int left_len, right_len; + size_t left_len, right_len; int scale = BCG(bc_precision), argc = ZEND_NUM_ARGS(); if (zend_parse_parameters(argc TSRMLS_CC, "ss|l", &left, &left_len, &right, &right_len, &scale_param) == FAILURE) { @@ -243,7 +243,7 @@ PHP_FUNCTION(bcadd) PHP_FUNCTION(bcsub) { char *left, *right; - int left_len, right_len; + size_t left_len, right_len; zend_long scale_param = 0; bc_num first, second, result; int scale = BCG(bc_precision), argc = ZEND_NUM_ARGS(); @@ -280,7 +280,7 @@ PHP_FUNCTION(bcsub) PHP_FUNCTION(bcmul) { char *left, *right; - int left_len, right_len; + size_t left_len, right_len; zend_long scale_param = 0; bc_num first, second, result; int scale = BCG(bc_precision), argc = ZEND_NUM_ARGS(); @@ -317,7 +317,7 @@ PHP_FUNCTION(bcmul) PHP_FUNCTION(bcdiv) { char *left, *right; - int left_len, right_len; + size_t left_len, right_len; zend_long scale_param = 0; bc_num first, second, result; int scale = BCG(bc_precision), argc = ZEND_NUM_ARGS(); @@ -360,7 +360,7 @@ PHP_FUNCTION(bcdiv) PHP_FUNCTION(bcmod) { char *left, *right; - int left_len, right_len; + size_t left_len, right_len; bc_num first, second, result; if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &left, &left_len, &right, &right_len) == FAILURE) { @@ -394,7 +394,7 @@ PHP_FUNCTION(bcmod) PHP_FUNCTION(bcpowmod) { char *left, *right, *modulous; - int left_len, right_len, modulous_len; + size_t left_len, right_len, modulous_len; bc_num first, second, mod, result; zend_long scale = BCG(bc_precision); int scale_int; @@ -435,7 +435,7 @@ PHP_FUNCTION(bcpowmod) PHP_FUNCTION(bcpow) { char *left, *right; - int left_len, right_len; + size_t left_len, right_len; zend_long scale_param = 0; bc_num first, second, result; int scale = BCG(bc_precision), argc = ZEND_NUM_ARGS(); @@ -507,7 +507,7 @@ PHP_FUNCTION(bcsqrt) PHP_FUNCTION(bccomp) { char *left, *right; - int left_len, right_len; + size_t left_len, right_len; zend_long scale_param = 0; bc_num first, second; int scale = BCG(bc_precision), argc = ZEND_NUM_ARGS(); |