- 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();