summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/ssh.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2006-03-20 18:42:26 +0000
committerderaadt <deraadt@openbsd.org>2006-03-20 18:42:26 +0000
commit758a72cf2139420fbd629644d0cc7bb4d9ed068d (patch)
treeb14699ad54a86abd657f06f7dda28a7aa4d7e4f4 /usr.bin/ssh/ssh.c
parentspacing (diff)
downloadwireguard-openbsd-758a72cf2139420fbd629644d0cc7bb4d9ed068d.tar.xz
wireguard-openbsd-758a72cf2139420fbd629644d0cc7bb4d9ed068d.zip
be strict with tolower() casting
Diffstat (limited to 'usr.bin/ssh/ssh.c')
-rw-r--r--usr.bin/ssh/ssh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/ssh/ssh.c b/usr.bin/ssh/ssh.c
index 0411cc3edc1..e0838d9bb0a 100644
--- a/usr.bin/ssh/ssh.c
+++ b/usr.bin/ssh/ssh.c
@@ -618,7 +618,7 @@ main(int ac, char **av)
if (options.host_key_alias != NULL) {
for (p = options.host_key_alias; *p; p++)
if (isupper(*p))
- *p = tolower(*p);
+ *p = (char)tolower(*p);
}
/* Get default port if port has not been set. */