1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-11 20:15:03 -05:00

fixed cast added with last commit.

This commit is contained in:
Gunter Knauf 2009-08-06 12:02:00 +00:00
parent 2cad095425
commit 97c8bc9757

View File

@ -31,7 +31,7 @@ char *Curl_inet_ntop(int af, const void *addr, char *buf, size_t size);
#ifdef HAVE_ARPA_INET_H #ifdef HAVE_ARPA_INET_H
#include <arpa/inet.h> #include <arpa/inet.h>
#endif #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
#endif /* __INET_NTOP_H */ #endif /* __INET_NTOP_H */