From: Gunter Knauf Date: Thu, 6 Aug 2009 12:02:00 +0000 (+0000) Subject: fixed cast added with last commit. X-Git-Tag: curl-7_19_6~14 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=97c8bc975749dc9675ac6fc6278a617315d7ecaf;p=curl fixed cast added with last commit. --- diff --git a/lib/inet_ntop.h b/lib/inet_ntop.h index 360ef3ae7..3d9f1dc76 100644 --- a/lib/inet_ntop.h +++ b/lib/inet_ntop.h @@ -31,7 +31,7 @@ char *Curl_inet_ntop(int af, const void *addr, char *buf, size_t size); #ifdef HAVE_ARPA_INET_H #include #endif -#define Curl_inet_ntop(af,addr,buf,size) inet_ntop(af,addr,buf,(size_t)size) +#define Curl_inet_ntop(af,addr,buf,size) inet_ntop(af,addr,buf,(socklen_t)size) #endif #endif /* __INET_NTOP_H */