Commit 2a4aea09 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

ws2_32: Make sure INVALID_SOCKET is correctly typed.

parent 76d6b767
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment