use a value for BAD_SOCKET that's compatible with 64-bit unsigned long ints

This commit is contained in:
Chris Brunner 2010-05-25 23:02:10 +00:00
parent 7eff1b84ef
commit 60e2152767
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@ const int LOCAL_BLOCKING_ERROR = WSAEWOULDBLOCK;
const int LOCAL_CONNECT_BLOCKING = WSAEWOULDBLOCK;
const int LOCAL_NOTCONNECTED_ERROR = WSAENOTCONN;
const int LOCAL_TIMEOUT_ERROR = WSAETIMEDOUT;
const SOCKET BAD_SOCKET = 0xffffffff;
const SOCKET BAD_SOCKET = (SOCKET)-1;
/************************************************************************
* Solaris 2.6 and Irix 6.4 STUFF