Skip to content

Commit 7968ce9

Browse files
committed
Remove unnecessary const qualifier
To fix -Wignored-qualifiers warning.
1 parent 59ae648 commit 7968ce9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/zend_operators.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ static zend_always_inline const void *zend_memrchr(const void *s, int c, size_t
222222
}
223223

224224
for (e = (const unsigned char *)s + n - 1; e >= (const unsigned char *)s; e--) {
225-
if (*e == (const unsigned char)c) {
225+
if (*e == (unsigned char)c) {
226226
return (const void *)e;
227227
}
228228
}

0 commit comments

Comments
 (0)