From f4447a9cc1d582a7065bfe78c089f5823ee3f46d Mon Sep 17 00:00:00 2001 From: Derick Rethans Date: Mon, 1 Apr 2002 09:19:57 +0000 Subject: [PATCH] - Fix for bug #14966 --- ext/standard/math.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/standard/math.c b/ext/standard/math.c index 993fd2e494..4ca710d235 100644 --- a/ext/standard/math.c +++ b/ext/standard/math.c @@ -138,7 +138,7 @@ PHP_FUNCTION(round) return_val = (Z_TYPE_PP(value) == IS_LONG) ? (double)Z_LVAL_PP(value) : Z_DVAL_PP(value); - f = pow(10.0, places); + f = pow(10.0, (double) places); return_val *= f; if (return_val >= 0.0) -- 2.50.1