diff options
Diffstat (limited to 'userland/libc/string/memchr.c')
-rw-r--r-- | userland/libc/string/memchr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/userland/libc/string/memchr.c b/userland/libc/string/memchr.c index cef3bc2..0d581f4 100644 --- a/userland/libc/string/memchr.c +++ b/userland/libc/string/memchr.c @@ -4,7 +4,7 @@ void *memchr(const void *s, int c, size_t n) { const char *p = s; for (; n > 0; n--, p++) { if (*p == c) { - return (void*)p; + return (void *)p; } } return NULL; |