mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-06 02:33:28 +01:00
Fix warning introduced by #6412
SOCKET are defined as unsigned integers, thus always >=0.
This commit is contained in:
@@ -96,7 +96,7 @@ bool static inline IsSelectableSocket(SOCKET s) {
|
||||
#ifdef WIN32
|
||||
return true;
|
||||
#else
|
||||
return (s >= 0 && s < FD_SETSIZE);
|
||||
return (s < FD_SETSIZE);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user