mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-16 18:50:19 +00:00
Don't return 0 in place of NULL
This commit is contained in:
@@ -1654,7 +1654,7 @@ memrchr (const void *block, int c, size_t size)
|
||||
for (p = (unsigned char *)block + size; p != block; p--)
|
||||
if (*p == c)
|
||||
return p;
|
||||
return 0;
|
||||
return NULL;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user