1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 15:48:49 -05:00

cast the call to Curl_inet_ntop for DECC compiler squawk

This commit is contained in:
Marty Kuhrt 2005-04-08 05:01:40 +00:00
parent b9f1d43921
commit 37a547842b

View File

@ -110,7 +110,7 @@ char *Curl_if2ip(const char *interface, char *buf, int buf_size)
struct sockaddr_in *s = (struct sockaddr_in *)&req.ifr_dstaddr;
memcpy(&in, &(s->sin_addr.s_addr), sizeof(in));
ip = Curl_inet_ntop(s->sin_family, &in, buf, buf_size);
ip = (char *) Curl_inet_ntop(s->sin_family, &in, buf, buf_size);
}
sclose(dummy);
}