From 78944bdfc6452624f9075b9e7e550cfa9c7ccdc3 Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Sun, 23 Jul 2017 17:38:28 +0200 Subject: [PATCH] remove cast --- ext/mbstring/mbstring.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.50.1