From 52f5cb914eaf1a6474cb3e9c807d131b7c34b5c5 Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Wed, 11 Feb 2015 12:03:35 +0100 Subject: [PATCH] fix incompatible pointer type --- ext/standard/string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/standard/string.c b/ext/standard/string.c index 197ed185f2..b7e71283b9 100644 --- a/ext/standard/string.c +++ b/ext/standard/string.c @@ -4542,7 +4542,7 @@ PHP_FUNCTION(setlocale) if (Z_TYPE(args[0]) == IS_ARRAY) { while (idx < Z_ARRVAL(args[0])->nNumUsed) { plocale = &Z_ARRVAL(args[0])->arData[idx].val; - if (Z_TYPE(plocale) != IS_UNDEF) { + if (Z_TYPE_P(plocale) != IS_UNDEF) { break; } idx++; -- 2.50.1