mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Fix condition
This commit is contained in:
parent
261ed5d2ec
commit
24356e307c
1 changed files with 1 additions and 1 deletions
|
@ -193,7 +193,7 @@ zend_memnstr(const char *haystack, const char *needle, size_t needle_len, const
|
|||
static zend_always_inline const void *zend_memrchr(const void *s, int c, size_t n)
|
||||
{
|
||||
const unsigned char *e;
|
||||
if (n <= 0) {
|
||||
if (0 == n) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue