mirror of https://github.com/getdnsapi/getdns.git
FD_SETSIZE can be unsigned
This commit is contained in:
parent
79e44053d3
commit
8d05fd7c1b
|
@ -55,7 +55,7 @@ default_eventloop_schedule(getdns_eventloop *loop,
|
|||
if (!loop || !event)
|
||||
return GETDNS_RETURN_INVALID_PARAMETER;
|
||||
|
||||
if (fd >= FD_SETSIZE) {
|
||||
if (fd >= (int)FD_SETSIZE) {
|
||||
DEBUG_SCHED( "ERROR: fd %d >= FD_SETSIZE: %d!\n"
|
||||
, fd, FD_SETSIZE);
|
||||
return GETDNS_RETURN_GENERIC_ERROR;
|
||||
|
|
Loading…
Reference in New Issue