Skip to content

Commit

Permalink
Remove unnecessary const qualifier
Browse files Browse the repository at this point in the history
To fix -Wignored-qualifiers warning.
  • Loading branch information
nikic committed Sep 16, 2021
1 parent 59ae648 commit 7968ce9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Zend/zend_operators.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 7968ce9

Please sign in to comment.