diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2006-03-31 05:36:37 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2006-03-31 05:36:37 +0000 |
commit | ffc47002c5a263357f88148528c3aa69712f5d32 (patch) | |
tree | 06e893c19c0eb3e9d06cdb60f1a8e9bd111a1898 /lib/libc/string | |
parent | c8efa347bd9e4717cd854ad52a147dd8550d0a45 (diff) |
(char)to{upper,lower}()
Diffstat (limited to 'lib/libc/string')
-rw-r--r-- | lib/libc/string/strcasestr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/string/strcasestr.c b/lib/libc/string/strcasestr.c index 07c8c2e8fb3..aa74c0176dc 100644 --- a/lib/libc/string/strcasestr.c +++ b/lib/libc/string/strcasestr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: strcasestr.c,v 1.2 2005/08/08 08:05:37 espie Exp $ */ +/* $OpenBSD: strcasestr.c,v 1.3 2006/03/31 05:34:55 deraadt Exp $ */ /* $NetBSD: strcasestr.c,v 1.2 2005/02/09 21:35:47 kleink Exp $ */ /*- @@ -46,7 +46,7 @@ strcasestr(const char *s, const char *find) size_t len; if ((c = *find++) != 0) { - c = tolower((unsigned char)c); + c = (char)tolower((unsigned char)c); len = strlen(find); do { do { |