]> granicus.if.org Git - php/commitdiff
int -> long
authorAntony Dovgal <tony2001@php.net>
Tue, 1 Jul 2008 08:17:19 +0000 (08:17 +0000)
committerAntony Dovgal <tony2001@php.net>
Tue, 1 Jul 2008 08:17:19 +0000 (08:17 +0000)
ext/standard/math.c

index 837d23ea8de9d47d2d54c5d093869b8fc75585cf..882419ec436fb2f9bb5b0396079a813478689d58 100644 (file)
@@ -1068,7 +1068,7 @@ PHP_FUNCTION(number_format)
 {
        zval *sep1 = NULL, *sep2 = NULL;
        double num;
-       int dec = 0;
+       long dec = 0;
        char thousand_sep=',', dec_point='.';
        char *tmp;