summaryrefslogtreecommitdiff
path: root/ext/bcmath/bcmath.c
diff options
context:
space:
mode:
authorArd Biesheuvel <abies@php.net>2004-02-25 20:16:27 +0000
committerArd Biesheuvel <abies@php.net>2004-02-25 20:16:27 +0000
commit81f05c18f5f3baf44fd8eb60e4b309bfe65562dd (patch)
tree3ec5cff99747dcfd6bfdcf90d2d4439a977793e6 /ext/bcmath/bcmath.c
parentb1d8f104502ac628fba97a70ed5320afd7811714 (diff)
downloadphp-git-81f05c18f5f3baf44fd8eb60e4b309bfe65562dd.tar.gz
Wordsize fixes
Diffstat (limited to 'ext/bcmath/bcmath.c')
-rw-r--r--ext/bcmath/bcmath.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bcmath/bcmath.c b/ext/bcmath/bcmath.c
index d3e4c53ab5..b500458ed1 100644
--- a/ext/bcmath/bcmath.c
+++ b/ext/bcmath/bcmath.c
@@ -367,7 +367,7 @@ PHP_FUNCTION(bcpowmod)
char *left, *right, *modulous;
int left_len, right_len, modulous_len;
bc_num first, second, mod, result;
- int scale = BCG(bc_precision);
+ long scale = BCG(bc_precision);
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sss|l", &left, &left_len, &right, &right_len, &modulous, &modulous_len, &scale) == FAILURE) {
WRONG_PARAM_COUNT;