]> andersk Git - openssh.git/blobdiff - canohost.c
- deraadt@cvs.openbsd.org 2006/03/20 18:42:27
[openssh.git] / canohost.c
index 4fafb0b82d69539f47f11f771c5b2ec247bc354f..b1c35e99ea60ca78dca6f733542b1eb1d92978d0 100644 (file)
@@ -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
This page took 0.050484 seconds and 4 git commands to generate.