diff options
author | Damien Miller <djm@mindrot.org> | 2006-03-26 05:09:54 +0200 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2006-03-26 05:09:54 +0200 |
commit | 1d2b6706ba1b2000bd807731e6d8e35691eaf8df (patch) | |
tree | b61365d7696fe908a14fd643362e3728e71846a3 /match.c | |
parent | - deraadt@cvs.openbsd.org 2006/03/20 18:41:43 (diff) | |
download | openssh-1d2b6706ba1b2000bd807731e6d8e35691eaf8df.tar.xz openssh-1d2b6706ba1b2000bd807731e6d8e35691eaf8df.zip |
- deraadt@cvs.openbsd.org 2006/03/20 18:42:27
[canohost.c match.c ssh.c sshconnect.c]
be strict with tolower() casting
Diffstat (limited to 'match.c')
-rw-r--r-- | match.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -137,7 +137,7 @@ match_pattern_list(const char *string, const char *pattern, u_int len, i < len && subi < sizeof(sub) - 1 && pattern[i] != ','; subi++, i++) sub[subi] = dolower && isupper(pattern[i]) ? - tolower(pattern[i]) : pattern[i]; + (char)tolower(pattern[i]) : pattern[i]; /* If subpattern too long, return failure (no match). */ if (subi >= sizeof(sub) - 1) return 0; |