]> granicus.if.org Git - php/commitdiff
Kill compiler warning.
authorAndrey Hristov <andrey@php.net>
Tue, 7 Sep 1999 18:26:36 +0000 (18:26 +0000)
committerAndrey Hristov <andrey@php.net>
Tue, 7 Sep 1999 18:26:36 +0000 (18:26 +0000)
ext/standard/math.c

index daaf20ef0984ca719d12dc2e745b2ade37b3b032..2febcaeffd2b1ecfc49ed6a17ca68b08985a0a56 100644 (file)
@@ -604,7 +604,7 @@ char *_php3_number_format(double d,int dec,char dec_point,char thousand_sep)
        
        tmplen=php_sprintf(tmpbuf,"%.*f",dec,d);
 
-       if (!isdigit(tmpbuf[0])) {
+       if (!isdigit((int)tmpbuf[0])) {
                return tmpbuf;
        }