From 7968ce93a8b9a94893d68475e455f4dd6ab4d047 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Thu, 16 Sep 2021 10:40:03 +0200 Subject: [PATCH] Remove unnecessary const qualifier To fix -Wignored-qualifiers warning. --- Zend/zend_operators.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Zend/zend_operators.h b/Zend/zend_operators.h index bef2b374e1b..5610d34dedb 100644 --- a/Zend/zend_operators.h +++ b/Zend/zend_operators.h @@ -222,7 +222,7 @@ static zend_always_inline const void *zend_memrchr(const void *s, int c, size_t } for (e = (const unsigned char *)s + n - 1; e >= (const unsigned char *)s; e--) { - if (*e == (const unsigned char)c) { + if (*e == (unsigned char)c) { return (const void *)e; } }