summaryrefslogtreecommitdiffstats
path: root/canohost.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2006-03-26 05:09:54 +0200
committerDamien Miller <djm@mindrot.org>2006-03-26 05:09:54 +0200
commit1d2b6706ba1b2000bd807731e6d8e35691eaf8df (patch)
treeb61365d7696fe908a14fd643362e3728e71846a3 /canohost.c
parent - deraadt@cvs.openbsd.org 2006/03/20 18:41:43 (diff)
downloadopenssh-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 'canohost.c')
-rw-r--r--canohost.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/canohost.c b/canohost.c
index 4fafb0b82..b1c35e99e 100644
--- a/canohost.c
+++ b/canohost.c
@@ -88,7 +88,7 @@ get_remote_hostname(int sock, int use_dns)
*/
for (i = 0; name[i]; i++)
if (isupper(name[i]))
- name[i] = tolower(name[i]);
+ name[i] = (char)tolower(name[i]);
/*
* Map it back to an IP address and check that the given
* address actually is an address of this host. This is