From: Anatol Belski Date: Sun, 23 Jul 2017 15:38:28 +0000 (+0200) Subject: remove cast X-Git-Tag: php-7.3.0alpha1~1815 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=78944bdfc6452624f9075b9e7e550cfa9c7ccdc3;p=php remove cast --- diff --git a/ext/mbstring/mbstring.c b/ext/mbstring/mbstring.c index 561794cbb6..92741a2354 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) {