From 9ccc3a0c3c7b7ca1b089233e12b527267ef74f52 Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Fri, 24 Oct 2014 13:00:33 +0200 Subject: [PATCH] fix datatype mismatch warning --- ext/standard/type.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } /* }}} */ -- 2.40.0