summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/socketengines/socketengine_select.cpp2
1 files changed, 1 insertions, 1 deletions
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)