1
1
mirror of https://github.com/tstack/lnav.git synced 2024-09-17 15:57:32 +03:00

Merge pull request #202 from sureshsundriyal/wip

[wsign-compare] FreeBSD builds fail while comparing int with FD_SETSIZE.
This commit is contained in:
Suresh Sundriyal 2015-04-07 19:46:34 -07:00
commit 7ba7627fcb

View File

@ -3792,7 +3792,8 @@ static void looper(void)
switch (errno) {
case EBADF:
{
int lpc, fd_flags;
size_t lpc;
int fd_flags;
log_error("bad file descriptor");
for (lpc = 0; lpc < FD_SETSIZE; lpc++) {