From: Marcus Boerger Date: Tue, 12 Nov 2002 11:46:21 +0000 (+0000) Subject: fix warnings X-Git-Tag: php-4.3.0RC1~89 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3ba7df4c6aff69ec851287e394b057b89079d887;p=php fix warnings #highest bit cannot be set so this must work --- diff --git a/ext/standard/math.c b/ext/standard/math.c index 0c2fcedb50..751dc3b11f 100644 --- a/ext/standard/math.c +++ b/ext/standard/math.c @@ -697,7 +697,7 @@ _php_math_basetozval(zval *arg, int base, zval *ret) { int i; int mode = 0; char c, *s; - unsigned long cutoff; + long cutoff; int cutlim; if (Z_TYPE_P(arg) != IS_STRING || base < 2 || base > 36) {