]> granicus.if.org Git - php/commitdiff
fix warnings
authorMarcus Boerger <helly@php.net>
Tue, 12 Nov 2002 11:46:21 +0000 (11:46 +0000)
committerMarcus Boerger <helly@php.net>
Tue, 12 Nov 2002 11:46:21 +0000 (11:46 +0000)
#highest bit cannot be set so this must work

ext/standard/math.c

index 0c2fcedb502598c210d5ecfc88acbeb172e9b503..751dc3b11f1db5f9fef40a383e2aa4a43e26cc9c 100644 (file)
@@ -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) {