]> granicus.if.org Git - php/commitdiff
remove cast
authorAnatol Belski <ab@php.net>
Sun, 23 Jul 2017 15:38:28 +0000 (17:38 +0200)
committerAnatol Belski <ab@php.net>
Sun, 23 Jul 2017 15:38:28 +0000 (17:38 +0200)
ext/mbstring/mbstring.c

index 561794cbb6040d2f89fc6095f42907aef0207745..92741a2354c6bb490fb6615ced22f7c80d9353a5 100644 (file)
@@ -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) {