From 1d2b6706ba1b2000bd807731e6d8e35691eaf8df Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Sun, 26 Mar 2006 14:09:54 +1100 Subject: - deraadt@cvs.openbsd.org 2006/03/20 18:42:27 [canohost.c match.c ssh.c sshconnect.c] be strict with tolower() casting --- canohost.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'canohost.c') diff --git a/canohost.c b/canohost.c index 4fafb0b8..b1c35e99 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 -- cgit v1.2.1