Skip to content
Snippets Groups Projects
Commit 1cb921b7 authored by Guenter Knauf's avatar Guenter Knauf
Browse files

fix cast for some systems which are broken due to absense of socklen_t,...

fix cast for some systems which are broken due to absense of socklen_t, therefore now use curl_socklen_t.
parent 0cf67218
No related branches found
No related tags found
No related merge requests found
......@@ -31,7 +31,8 @@ char *Curl_inet_ntop(int af, const void *addr, char *buf, size_t size);
#ifdef HAVE_ARPA_INET_H
#include <arpa/inet.h>
#endif
#define Curl_inet_ntop(af,addr,buf,size) inet_ntop(af,addr,buf,(socklen_t)size)
#define Curl_inet_ntop(af,addr,buf,size) \
inet_ntop(af,addr,buf,(curl_socklen_t)size)
#endif
#endif /* __INET_NTOP_H */
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