From e01fbacf7cf01a9e64ac42fddf52b6594ef48cfe Mon Sep 17 00:00:00 2001 From: Jeff Becker Date: Sun, 6 May 2018 08:59:03 -0400 Subject: [PATCH] fix --- contrib/backends/nntpchan-daemon/libnntpchan/kqueue.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/backends/nntpchan-daemon/libnntpchan/kqueue.hpp b/contrib/backends/nntpchan-daemon/libnntpchan/kqueue.hpp index 7636e4d..f998a2a 100644 --- a/contrib/backends/nntpchan-daemon/libnntpchan/kqueue.hpp +++ b/contrib/backends/nntpchan-daemon/libnntpchan/kqueue.hpp @@ -105,7 +105,7 @@ namespace ev if(event->filter & EVFILT_READ && handler->readable()) { int readed = 0; - int readnum = event->data; + size_t readnum = event->data; while(readnum > sizeof(readbuf)) { int r = handler->read(readbuf, sizeof(readbuf));