commit | 1d2b6706ba1b2000bd807731e6d8e35691eaf8df | [log] [tgz] |
---|---|---|
author | Damien Miller <djm@mindrot.org> | Sun Mar 26 14:09:54 2006 +1100 |
committer | Damien Miller <djm@mindrot.org> | Sun Mar 26 14:09:54 2006 +1100 |
tree | b61365d7696fe908a14fd643362e3728e71846a3 | |
parent | 1ff7c642eed4df1c2f9fcc6f247d7d9949b6e81c [diff] [blame] |
- deraadt@cvs.openbsd.org 2006/03/20 18:42:27 [canohost.c match.c ssh.c sshconnect.c] be strict with tolower() casting
diff --git a/sshconnect.c b/sshconnect.c index 53b5200..33961e4 100644 --- a/sshconnect.c +++ b/sshconnect.c
@@ -927,7 +927,7 @@ host = xstrdup(orighost); for (cp = host; *cp; cp++) if (isupper(*cp)) - *cp = tolower(*cp); + *cp = (char)tolower(*cp); /* Exchange protocol version identification strings with the server. */ ssh_exchange_identification();