mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 12:02:48 +01:00
Fix warning introduced by #6412
SOCKET are defined as unsigned integers, thus always >=0.
Rebased-From: 89289d875d
This commit is contained in:
parent
0739e6e57a
commit
ae52a7ffd1
@ -94,7 +94,7 @@ bool static inline IsSelectableSocket(SOCKET s) {
|
||||
#ifdef WIN32
|
||||
return true;
|
||||
#else
|
||||
return (s >= 0 && s < FD_SETSIZE);
|
||||
return (s < FD_SETSIZE);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user