diff options
Diffstat (limited to 'lib/memrchr.c')
-rw-r--r-- | lib/memrchr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/memrchr.c b/lib/memrchr.c index da7c988efb6..08a27fae33e 100644 --- a/lib/memrchr.c +++ b/lib/memrchr.c @@ -68,7 +68,7 @@ __memrchr (void const *s, int c_in, size_t n) if (*--char_ptr == c) return (void *) char_ptr; - longword_ptr = (const longword *) char_ptr; + longword_ptr = (const void *) char_ptr; /* All these elucidatory comments refer to 4-byte longwords, but the theory applies equally well to any size longwords. */ |