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
pull/1/head
Yang Tse 17 years ago
parent 14cb127954
commit dfcd806a8b
  1. 2
      setup_once.h

@ -223,7 +223,7 @@ struct timeval {
#ifdef RECVFROM_TYPE_ARG6_IS_VOID #ifdef RECVFROM_TYPE_ARG6_IS_VOID
# define RECVFROM_ARG6_T unsigned int # define RECVFROM_ARG6_T int
#else #else
# define RECVFROM_ARG6_T RECVFROM_TYPE_ARG6 # define RECVFROM_ARG6_T RECVFROM_TYPE_ARG6
#endif #endif

Loading…
Cancel
Save