mirror of
https://github.com/curl/curl.git
synced 2026-06-16 22:15:38 +03:00
made the ares_inet_net_pton() proto use size_t size, as the function in the
code uses that
This commit is contained in:
parent
34854e70cf
commit
2d4dcfb740
1 changed files with 1 additions and 1 deletions
|
|
@ -97,7 +97,7 @@ int ares_inet_pton(int af, const char *src, void *dst);
|
|||
#if defined(HAVE_INET_NET_PTON) && defined(HAVE_INET_NET_PTON_IPV6)
|
||||
#define ares_inet_net_pton(w,x,y,z) inet_net_pton(w,x,y,z)
|
||||
#else
|
||||
int ares_inet_net_pton(int af, const char *src, void *dst, unsigned int size);
|
||||
int ares_inet_net_pton(int af, const char *src, void *dst, size_t size);
|
||||
#endif
|
||||
|
||||
#endif /* ARES_SETUP_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue