diff options
author | Yang Tse <yangsita@gmail.com> | 2008-07-21 18:24:32 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2008-07-21 18:24:32 +0000 |
commit | dfcd806a8bb43a585c737badda249900c1c4dbd1 (patch) | |
tree | d8113489648d55c224acba756f2a88e876850f7e /setup_once.h | |
parent | 14cb127954b513d7d9b6548156db4b623ead3fdd (diff) | |
download | c-ares-dfcd806a8bb43a585c737badda249900c1c4dbd1.tar.gz c-ares-dfcd806a8bb43a585c737badda249900c1c4dbd1.tar.bz2 c-ares-dfcd806a8bb43a585c737badda249900c1c4dbd1.zip |
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 'setup_once.h')
-rw-r--r-- | setup_once.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/setup_once.h b/setup_once.h index e1c5af2..4a71c29 100644 --- a/setup_once.h +++ b/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 |