mirror of
https://github.com/reactos/CMake.git
synced 2024-11-25 04:29:52 +00:00
COMP: Remove compile warning on cygwin
This commit is contained in:
parent
00f6e6ebf1
commit
f6e25ab9d2
@ -161,7 +161,7 @@ Curl_addrinfo *Curl_ip2addr(in_addr_t num, char *hostname, int port)
|
||||
h->h_aliases = NULL;
|
||||
|
||||
/* Now store the dotted version of the address */
|
||||
snprintf(h->h_name, 16, "%s", hostname);
|
||||
snprintf((char*)(h->h_name), 16, "%s", hostname);
|
||||
|
||||
ai = Curl_he2ai(h, port);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user