summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/standard/type.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/type.c b/ext/standard/type.c
index 67d5ed1e75..a773e6c53c 100644
--- a/ext/standard/type.c
+++ b/ext/standard/type.c
@@ -156,7 +156,7 @@ PHP_FUNCTION(intval)
#endif
RETVAL_ZVAL(num, 1, 0);
- convert_to_long_base(return_value, base);
+ convert_to_long_base(return_value, (int)base);
}
/* }}} */