summaryrefslogtreecommitdiffstats
path: root/sshconnect.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 /sshconnect.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 'sshconnect.c')
-rw-r--r--sshconnect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sshconnect.c b/sshconnect.c
index 53b5200ff..33961e4dc 100644
--- a/sshconnect.c
+++ b/sshconnect.c
@@ -927,7 +927,7 @@ ssh_login(Sensitive *sensitive, const char *orighost,
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();