Skip to content

Commit

Permalink
fix a signed/unsigned warning in kqueue.c
Browse files Browse the repository at this point in the history
  • Loading branch information
nmathewson committed Oct 14, 2010
1 parent 02f6259 commit 5e4bafb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kqueue.c
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ kq_init(struct event_base *base)
*/
if (kevent(kq,
kqueueop->changes, 1, kqueueop->events, NEVENT, NULL) != 1 ||
kqueueop->events[0].ident != -1 ||
(int)kqueueop->events[0].ident != -1 ||
kqueueop->events[0].flags != EV_ERROR) {
event_warn("%s: detected broken kqueue; not using.", __func__);
goto err;
Expand Down

0 comments on commit 5e4bafb

Please sign in to comment.