mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-17 13:07:54 +02:00
Fix warning introduced by #6412
SOCKET are defined as unsigned integers, thus always >=0.
Rebased-From: 89289d875d
This commit is contained in:
parent
0095b9a1ff
commit
e8b87c8f78
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue