From 0725e9bfb0a3826fb837bbe04451e816222440d1 Mon Sep 17 00:00:00 2001 From: peavey Date: Sun, 11 Oct 2009 09:59:59 +0000 Subject: Fix some signedness. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11830 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/socketengines/socketengine_select.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/socketengines/socketengine_select.cpp b/src/socketengines/socketengine_select.cpp index f0668aafb..98030d9c1 100644 --- a/src/socketengines/socketengine_select.cpp +++ b/src/socketengines/socketengine_select.cpp @@ -126,7 +126,7 @@ int SelectEngine::DispatchEvents() FD_ZERO(&errfdset); /* Populate the select FD sets (this is why select sucks compared to epoll, kqueue, IOCP) */ - for (int i = 0; i < FD_SETSIZE; i++) + for (unsigned int i = 0; i < FD_SETSIZE; i++) { EventHandler* eh = ref[i]; if (!eh) -- cgit v1.2.3