ws2_32: Make sure INVALID_SOCKET is correctly typed.

This commit is contained in:
Francois Gouget 2008-05-26 17:38:53 +02:00 committed by Alexandre Julliard
parent 76d6b76737
commit 2a4aea0918

View file

@ -395,7 +395,7 @@ typedef UINT_PTR SOCKET;
* This is used instead of -1, since the
* SOCKET type is unsigned.
*/
#define INVALID_SOCKET (~0)
#define INVALID_SOCKET (SOCKET)(~0)
#define SOCKET_ERROR (-1)
typedef struct WS(sockaddr)