diff options
Diffstat (limited to 'canohost.c')
-rw-r--r-- | canohost.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/canohost.c b/canohost.c index 4fafb0b82..b1c35e99e 100644 --- a/canohost.c +++ b/canohost.c | |||
@@ -88,7 +88,7 @@ get_remote_hostname(int sock, int use_dns) | |||
88 | */ | 88 | */ |
89 | for (i = 0; name[i]; i++) | 89 | for (i = 0; name[i]; i++) |
90 | if (isupper(name[i])) | 90 | if (isupper(name[i])) |
91 | name[i] = tolower(name[i]); | 91 | name[i] = (char)tolower(name[i]); |
92 | /* | 92 | /* |
93 | * Map it back to an IP address and check that the given | 93 | * Map it back to an IP address and check that the given |
94 | * address actually is an address of this host. This is | 94 | * address actually is an address of this host. This is |