summaryrefslogtreecommitdiff
path: root/lib/setup_once.h
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-07-21 18:24:32 +0000
committerYang Tse <yangsita@gmail.com>2008-07-21 18:24:32 +0000
commit0919de451188b2aca609e0c7952b58a62a02ca9b (patch)
treeea22ea27abdd508e470f6b74c8bae84e75232feb /lib/setup_once.h
parent3e5292a0522e6f6d80ba917368d32b7f25928d1f (diff)
downloadcurl-0919de451188b2aca609e0c7952b58a62a02ca9b.tar.gz
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
Diffstat (limited to 'lib/setup_once.h')
-rw-r--r--lib/setup_once.h2
1 files changed, 1 insertions, 1 deletions
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