Skip to content
Snippets Groups Projects
Commit 0919de45 authored by Yang Tse's avatar Yang Tse
Browse files

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
parent 3e5292a0
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment