mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Remove unnecessary const qualifier
To fix -Wignored-qualifiers warning.
This commit is contained in:
parent
59ae64825d
commit
7968ce93a8
1 changed files with 1 additions and 1 deletions
|
@ -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--) {
|
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;
|
return (const void *)e;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue