fix a bunch of MSVC compiler warnings

This commit is contained in:
Yang Tse 2011-09-03 16:06:10 +02:00
parent 2be65bb0c5
commit 6b75d2c2df
41 changed files with 109 additions and 82 deletions

View file

@ -49,7 +49,7 @@
/* Winsock and TPF sockets are not in range [0..FD_SETSIZE-1] */
#if defined(USE_WINSOCK) || defined(TPF)
#define VERIFY_SOCK(x) do { } WHILE_FALSE
#define VERIFY_SOCK(x) Curl_nop_stmt
#else
#define VALID_SOCK(s) (((s) >= 0) && ((s) < FD_SETSIZE))
#define VERIFY_SOCK(x) do { \