projects
/
kopensolaris-gnu
/
glibc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Wed Feb 14 00:21:17 1996 David Mosberger-Tang <davidm@azstarnet.com>
[kopensolaris-gnu/glibc.git]
/
sysdeps
/
alpha
/
memchr.c
diff --git
a/sysdeps/alpha/memchr.c
b/sysdeps/alpha/memchr.c
index
11ff542
..
a911302
100644
(file)
--- a/
sysdeps/alpha/memchr.c
+++ b/
sysdeps/alpha/memchr.c
@@
-72,7
+72,7
@@
memchr (const void *s, int c, size_t n)
unsigned char *cp = (unsigned char *) (longword_ptr - 1);
int i;
- for (i = 0; i <
6
; i++)
+ for (i = 0; i <
7
; i++)
if (cp[i] == c)
return &cp[i];
return &cp[7];