aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ares/setup_once.h2
-rw-r--r--lib/setup_once.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/ares/setup_once.h b/ares/setup_once.h
index e1c5af278..4a71c2919 100644
--- a/ares/setup_once.h
+++ b/ares/setup_once.h
@@ -223,7 +223,7 @@ struct timeval {
#ifdef RECVFROM_TYPE_ARG6_IS_VOID
-# define RECVFROM_ARG6_T unsigned int
+# define RECVFROM_ARG6_T int
#else
# define RECVFROM_ARG6_T RECVFROM_TYPE_ARG6
#endif
diff --git a/lib/setup_once.h b/lib/setup_once.h
index e96f6984a..82d74e72f 100644
--- a/lib/setup_once.h
+++ b/lib/setup_once.h
@@ -230,7 +230,7 @@ struct timeval {
#ifdef RECVFROM_TYPE_ARG6_IS_VOID
-# define RECVFROM_ARG6_T unsigned int
+# define RECVFROM_ARG6_T int
#else
# define RECVFROM_ARG6_T RECVFROM_TYPE_ARG6
#endif