From 66ee086bf1650713933e8f8a53c188bd8a7af7a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C5=93ur?= Date: Mon, 6 May 2024 23:32:00 +0800 Subject: [PATCH] Fix conversion loses precision ssize_t to int in evthread_notify_base_default() --- event.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/event.c b/event.c index afc185b8..04476409 100644 --- a/event.c +++ b/event.c @@ -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);