Skip to content

Commit

Permalink
fix Implicit conversion loses integer precision: 'ssize_t' (aka 'long…
Browse files Browse the repository at this point in the history
…') to 'int'
  • Loading branch information
Coeur committed May 4, 2024
1 parent 14e284f commit ae17ef2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion event.c
Original file line number Diff line number Diff line change
Expand Up @@ -2573,7 +2573,7 @@ static int
evthread_notify_base_default(struct event_base *base)
{
char buf[1];
int r;
ev_ssize_t r;
buf[0] = (char) 0;
#ifdef _WIN32
r = send(base->th_notify_fd[1], buf, 1, 0);
Expand Down

0 comments on commit ae17ef2

Please sign in to comment.