summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-04-06 13:54:02 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-04-06 13:54:02 +0000
commit06e8c9fe3fe0f4e46860ec54354fcaff12546b0f (patch)
treebaa4d785c230bac5e683cb73c27e3b9404425029
parent3d90cb252b5afeace167f101ddc18a57337b3429 (diff)
downloadc-ares-06e8c9fe3fe0f4e46860ec54354fcaff12546b0f.tar.gz
c-ares-06e8c9fe3fe0f4e46860ec54354fcaff12546b0f.tar.bz2
c-ares-06e8c9fe3fe0f4e46860ec54354fcaff12546b0f.zip
made the ares_inet_net_pton() proto use size_t size, as the function in the
code uses that
-rw-r--r--setup.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup.h b/setup.h
index c3f2a8b..20e1206 100644
--- a/setup.h
+++ b/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 */