about summary refs log tree commit diff
path: root/sysdeps/generic/memrchr.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/memrchr.c')
-rw-r--r--sysdeps/generic/memrchr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/generic/memrchr.c b/sysdeps/generic/memrchr.c
index 6fa918d26e..d1c06e041a 100644
--- a/sysdeps/generic/memrchr.c
+++ b/sysdeps/generic/memrchr.c
@@ -86,7 +86,7 @@ __memrchr (s, c_in, n)
   /* All these elucidatory comments refer to 4-byte longwords,
      but the theory applies equally well to 8-byte longwords.  */
 
-  longword_ptr = (unsigned long int *) char_ptr;
+  longword_ptr = (const unsigned long int *) char_ptr;
 
   /* Bits 31, 24, 16, and 8 of this number are zero.  Call these bits
      the "holes."  Note that there is a hole just to the left of