summaryrefslogtreecommitdiffstats
path: root/newlib/libc/string/memrchr.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/string/memrchr.c')
-rw-r--r--newlib/libc/string/memrchr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/string/memrchr.c b/newlib/libc/string/memrchr.c
index 42d9d147b..60dee42ed 100644
--- a/newlib/libc/string/memrchr.c
+++ b/newlib/libc/string/memrchr.c
@@ -80,7 +80,7 @@ _DEFUN (memrchr, (src_void, c, length),
#if !defined(PREFER_SIZE_OVER_SPEED) && !defined(__OPTIMIZE_SIZE__)
unsigned long *asrc;
unsigned long mask;
- int i;
+ unsigned int i;
while (UNALIGNED (src))
{