Skip to content
Snippets Groups Projects
Commit 37a54784 authored by Marty Kuhrt's avatar Marty Kuhrt
Browse files

cast the call to Curl_inet_ntop for DECC compiler squawk

parent b9f1d439
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment