com php-src: fix datatype mismatch warning: ext/standard/type.c
| From: | Anatol Belski | Date: | Fri, 24 Oct 2014 18:50:02 +0000 |
| Subject: | com php-src: fix datatype mismatch warning: ext/standard/type.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-82638@lists.php.net to get a copy of this message | ||
Commit: 9ccc3a0c3c7b7ca1b089233e12b527267ef74f52
Author: Anatol Belski <ab@php.net> Fri, 24 Oct 2014 13:00:33 +0200
Parents: ff02a1416eeeffd593e2878b6e2a7ee30d28beb0
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=9ccc3a0c3c7b7ca1b089233e12b527267ef74f52
Log:
fix datatype mismatch warning
Changed paths:
M ext/standard/type.c
Diff:
diff --git a/ext/standard/type.c b/ext/standard/type.c
index 67d5ed1..a773e6c 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);
}
/* }}} */