summaryrefslogtreecommitdiff
path: root/ext/standard/math.c
diff options
context:
space:
mode:
authorSterling Hughes <sterling@php.net>2001-09-18 05:48:49 +0000
committerSterling Hughes <sterling@php.net>2001-09-18 05:48:49 +0000
commit80924608301a448e157baaaccda886b35936af17 (patch)
tree0cf2239e7850461ed25b865184573ecdf05d2d87 /ext/standard/math.c
parentc3edc73ecce4d81a887e1bffffba35a30f547002 (diff)
downloadphp-git-80924608301a448e157baaaccda886b35936af17.tar.gz
hopefully fix win32 compile warnings
# I really wish i had a box to compile php with win32 on
Diffstat (limited to 'ext/standard/math.c')
-rw-r--r--ext/standard/math.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/math.c b/ext/standard/math.c
index 5651eb31ff..f0c8d81e1e 100644
--- a/ext/standard/math.c
+++ b/ext/standard/math.c
@@ -733,7 +733,7 @@ _php_math_basetozval(zval *arg, int base, zval *ret) {
if(!f_mode && (!mult || digit > LONG_MAX/mult || num > LONG_MAX-mult*digit)) {
f_mode = 1;
if(!mult) {
- fmult = ULONG_MAX + 1;
+ fmult = ULONG_MAX + (ulong) 1;
} else {
fmult = (unsigned long)mult;
}