mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-02-05 03:34:24 +00:00
Fix warning introduced by #6412
SOCKET are defined as unsigned integers, thus always >=0.
This commit is contained in:
parent
1a2de3237f
commit
89289d875d
@ -96,7 +96,7 @@ bool static inline IsSelectableSocket(SOCKET s) {
|
|||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
return true;
|
return true;
|
||||||
#else
|
#else
|
||||||
return (s >= 0 && s < FD_SETSIZE);
|
return (s < FD_SETSIZE);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user