Skip to content

Commit

Permalink
cast fd
Browse files Browse the repository at this point in the history
  • Loading branch information
sreimers committed Sep 5, 2023
1 parent e0e8d2a commit 345d922
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -778,7 +778,7 @@ static int fd_poll(struct re *re)
if (fhs->flags & FD_EXCEPT)
FD_SET(fd, &efds);

max_fd_plus_1 = max(max_fd_plus_1, fd + 1);
max_fd_plus_1 = max(max_fd_plus_1, (int)(fd + 1));
}

nfds = re->maxfds;
Expand Down

0 comments on commit 345d922

Please sign in to comment.