diff options
author | Ulrich Drepper <drepper@redhat.com> | 1998-01-30 13:40:43 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1998-01-30 13:40:43 +0000 |
commit | 9aae565a5699c6486a0ffd9a1528cf7719319d1b (patch) | |
tree | 9bd4089cf0bbca6fa3403686f352ca0e9f8a4608 /sysdeps | |
parent | 9931ba241298969e46854d23491da21dfcbf1e23 (diff) | |
download | glibc-9aae565a5699c6486a0ffd9a1528cf7719319d1b.tar.gz glibc-9aae565a5699c6486a0ffd9a1528cf7719319d1b.tar.xz glibc-9aae565a5699c6486a0ffd9a1528cf7719319d1b.zip |
Update.
1998-01-30 22:37 Ulrich Drepper <drepper@cygnus.com> * sysdeps/generic/memmem.c: Correct last change.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/generic/memmem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/generic/memmem.c b/sysdeps/generic/memmem.c index 482ab6aa0b..9e32f517b3 100644 --- a/sysdeps/generic/memmem.c +++ b/sysdeps/generic/memmem.c @@ -36,7 +36,7 @@ memmem (haystack, haystack_len, needle, needle_len) if (needle_len == 0) /* The first occurrence of the empty string is deemed to occur at the beginning of the string. */ - return (void *) &((const char *) haystack); + return (void *) haystack; for (begin = (const char *) haystack; begin <= last_possible; ++begin) if (begin[0] == ((const char *) needle)[0] && |