summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/standard/math.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/math.c b/ext/standard/math.c
index 135b87eb56..a4df5a5aa6 100644
--- a/ext/standard/math.c
+++ b/ext/standard/math.c
@@ -608,7 +608,7 @@ PHP_FUNCTION(pow)
/* calculate pow(long,long) in O(log exp) operations, bail if overflow */
while (i >= 1) {
- int overflow;
+ long overflow;
double dval = 0.0;
if (i % 2) {