summaryrefslogtreecommitdiff
path: root/lib/inet_ntop.h
diff options
context:
space:
mode:
authorGunter Knauf <gk@gknw.de>2009-08-06 12:02:00 +0000
committerGunter Knauf <gk@gknw.de>2009-08-06 12:02:00 +0000
commit97c8bc975749dc9675ac6fc6278a617315d7ecaf (patch)
tree643818345860d586dc9e6e58114e115998408f59 /lib/inet_ntop.h
parent2cad095425e348c5115a1f747b9121742dea5474 (diff)
downloadcurl-97c8bc975749dc9675ac6fc6278a617315d7ecaf.tar.gz
fixed cast added with last commit.
Diffstat (limited to 'lib/inet_ntop.h')
-rw-r--r--lib/inet_ntop.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/inet_ntop.h b/lib/inet_ntop.h
index 360ef3ae7..3d9f1dc76 100644
--- a/lib/inet_ntop.h
+++ b/lib/inet_ntop.h
@@ -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 */