com php-src: remove cast: ext/mbstring/mbstring.c
| From: | Anatol Belski | Date: | Sun, 23 Jul 2017 15:38:28 +0000 |
| Subject: | com php-src: remove cast: ext/mbstring/mbstring.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-98757@lists.php.net to get a copy of this message | ||
Commit: 78944bdfc6452624f9075b9e7e550cfa9c7ccdc3
Author: Anatol Belski <ab@php.net> Sun, 23 Jul 2017 17:38:28 +0200
Parents: 6809be20902bf83a9d21e9658b07d3365557ffe6
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=78944bdfc6452624f9075b9e7e550cfa9c7ccdc3
Log:
remove cast
Changed paths:
M ext/mbstring/mbstring.c
Diff:
diff --git a/ext/mbstring/mbstring.c b/ext/mbstring/mbstring.c
index 561794c..92741a2 100644
--- a/ext/mbstring/mbstring.c
+++ b/ext/mbstring/mbstring.c
@@ -3498,7 +3498,7 @@ PHP_FUNCTION(mb_detect_encoding)
}
if (ZEND_NUM_ARGS() < 3) {
- strict = (zend_bool)MBSTRG(strict_detection);
+ strict = MBSTRG(strict_detection);
}
if (size > 0 && list != NULL) {