diff options
author | Damien Miller <djm@mindrot.org> | 2006-03-26 14:09:54 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2006-03-26 14:09:54 +1100 |
commit | 1d2b6706ba1b2000bd807731e6d8e35691eaf8df (patch) | |
tree | b61365d7696fe908a14fd643362e3728e71846a3 /ssh.c | |
parent | 1ff7c642eed4df1c2f9fcc6f247d7d9949b6e81c (diff) |
- 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 'ssh.c')
-rw-r--r-- | ssh.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -629,7 +629,7 @@ main(int ac, char **av) | |||
629 | if (options.host_key_alias != NULL) { | 629 | if (options.host_key_alias != NULL) { |
630 | for (p = options.host_key_alias; *p; p++) | 630 | for (p = options.host_key_alias; *p; p++) |
631 | if (isupper(*p)) | 631 | if (isupper(*p)) |
632 | *p = tolower(*p); | 632 | *p = (char)tolower(*p); |
633 | } | 633 | } |
634 | 634 | ||
635 | /* Get default port if port has not been set. */ | 635 | /* Get default port if port has not been set. */ |