From 0919de451188b2aca609e0c7952b58a62a02ca9b Mon Sep 17 00:00:00 2001
From: Yang Tse <yangsita@gmail.com>
Date: Mon, 21 Jul 2008 18:24:32 +0000
Subject: [PATCH] Change recvfrom's sixth argument data type to the
 'historically standard' 'int' data type for systems where this sixth argument
 is prototyped as a void pointer.

Start of thread: http://curl.haxx.se/mail/lib-2008-07/0153.html
---
 ares/setup_once.h | 2 +-
 lib/setup_once.h  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ares/setup_once.h b/ares/setup_once.h
index e1c5af2786..4a71c29194 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 e96f6984ae..82d74e72f7 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
-- 
GitLab