mirror of
https://github.com/curl/curl.git
synced 2026-07-23 10:07:16 +03:00
fixed cast added with last commit.
This commit is contained in:
parent
2cad095425
commit
97c8bc9757
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ 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,(size_t)size)
|
||||
#define Curl_inet_ntop(af,addr,buf,size) inet_ntop(af,addr,buf,(socklen_t)size)
|
||||
#endif
|
||||
|
||||
#endif /* __INET_NTOP_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue