]> granicus.if.org Git - curl/commitdiff
Change recvfrom's sixth argument data type to the 'historically standard' 'int'
authorYang Tse <yangsita@gmail.com>
Mon, 21 Jul 2008 18:24:32 +0000 (18:24 +0000)
committerYang Tse <yangsita@gmail.com>
Mon, 21 Jul 2008 18:24:32 +0000 (18:24 +0000)
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
lib/setup_once.h

index e1c5af278666be7baeb084111324a603815f15c2..4a71c29194742aecd75f27110e5d853c4820557d 100644 (file)
@@ -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
index e96f6984aead516bac87130688d2704a12758a13..82d74e72f7d33116b623e84b692b026b5800f927 100644 (file)
@@ -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