diff options
| author | Elliott Hughes <enh@google.com> | 2013-03-21 19:56:39 -0700 |
|---|---|---|
| committer | Android Git Automerger <android-git-automerger@android.com> | 2013-03-21 19:56:39 -0700 |
| commit | a596aa6abfdd8ecdb4bcdd9bcad24a19adcf7525 (patch) | |
| tree | 849f6a2aea9dfcdb86356b9fc1fba9e7c8f22c5c /libc/string/strchr.c | |
| parent | 01c0e19e426df5620c5ca822ab546907dbf1fa7d (diff) | |
| parent | 26c815c489197259e3692d4a1e35463989f7c7a3 (diff) | |
am 26c815c4: Merge "Drop magic number in strrchr and strchr"
* commit '26c815c489197259e3692d4a1e35463989f7c7a3':
Drop magic number in strrchr and strchr
Diffstat (limited to 'libc/string/strchr.c')
| -rw-r--r-- | libc/string/strchr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/string/strchr.c b/libc/string/strchr.c index 93cb250b0d..29acca5914 100644 --- a/libc/string/strchr.c +++ b/libc/string/strchr.c @@ -47,5 +47,5 @@ __strchr_chk(const char *p, int ch, size_t s_len) char * strchr(const char *p, int ch) { - return __strchr_chk(p, ch, (size_t) -1); + return __strchr_chk(p, ch, __BIONIC_FORTIFY_UNKNOWN_SIZE); } |
