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 6, 2024
1 parent 9ab9dda commit 83c5750
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 @@ -2575,7 +2575,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 83c5750

Please sign in to comment.