X-Git-Url: http://andersk.mit.edu/gitweb/openssh.git/blobdiff_plain/b6438382f42e84e4446470009fc098dbbc2ffcf4..9555d25824c6cc80227cc4c65980503935156cbe:/sshconnect.c diff --git a/sshconnect.c b/sshconnect.c index 9d1c8593..33961e4d 100644 --- a/sshconnect.c +++ b/sshconnect.c @@ -13,14 +13,15 @@ */ #include "includes.h" -RCSID("$OpenBSD: sshconnect.c,v 1.176 2006/02/22 00:04:45 stevesk Exp $"); #include #include #include #include +#ifdef HAVE_PATHS_H #include +#endif #include "ssh.h" #include "xmalloc.h" @@ -926,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();