From 37a547842b763853f1d4c7c759ae92b8b91654db Mon Sep 17 00:00:00 2001 From: Marty Kuhrt Date: Fri, 8 Apr 2005 05:01:40 +0000 Subject: [PATCH] cast the call to Curl_inet_ntop for DECC compiler squawk --- lib/if2ip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/if2ip.c b/lib/if2ip.c index f2ecfdc31..26b4fae0a 100644 --- a/lib/if2ip.c +++ b/lib/if2ip.c @@ -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); }