diff options
Diffstat (limited to 'libc/string/memrchr.c')
-rw-r--r-- | libc/string/memrchr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/string/memrchr.c b/libc/string/memrchr.c index b2f9001cd..48ec50a4e 100644 --- a/libc/string/memrchr.c +++ b/libc/string/memrchr.c @@ -20,7 +20,7 @@ void *memrchr(const void *s, int c, size_t n) #else #define np n #endif - + r = ((unsigned char *)s) + ((size_t) np); while (np) { |