aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/memrchr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/memrchr.c b/lib/memrchr.c
index 99acfd9c56d..2efc7cb9752 100644
--- a/lib/memrchr.c
+++ b/lib/memrchr.c
@@ -68,7 +68,7 @@ __memrchr (void const *s, int c_in, size_t n)
68 if (*--char_ptr == c) 68 if (*--char_ptr == c)
69 return (void *) char_ptr; 69 return (void *) char_ptr;
70 70
71 longword_ptr = (const longword *) char_ptr; 71 longword_ptr = (const void *) char_ptr;
72 72
73 /* All these elucidatory comments refer to 4-byte longwords, 73 /* All these elucidatory comments refer to 4-byte longwords,
74 but the theory applies equally well to any size longwords. */ 74 but the theory applies equally well to any size longwords. */