From 2d4dcfb740a94d434f189da814f734ab8632af10 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 6 Apr 2005 13:54:02 +0000 Subject: [PATCH] made the ares_inet_net_pton() proto use size_t size, as the function in the code uses that --- ares/setup.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ares/setup.h b/ares/setup.h index c3f2a8b52..20e1206b4 100644 --- a/ares/setup.h +++ b/ares/setup.h @@ -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 */