diff options
author | djm <djm> | 2006-03-26 03:09:54 +0000 |
---|---|---|
committer | djm <djm> | 2006-03-26 03:09:54 +0000 |
commit | 7284326655a21a54c622ecce07addb70e2a1f6ac (patch) | |
tree | 6242f80de46609b550dc65c78ea4ae0b3eeaee7c /match.c | |
parent | 6eb6e682574dc1ad810748e3c7e80e9c90fb405a (diff) | |
download | openssh-7284326655a21a54c622ecce07addb70e2a1f6ac.tar.gz |
- 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; |