summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2016-08-19 13:59:07 +0100
committerPeter Powell <petpow@saberuk.com>2016-08-19 16:10:00 +0100
commit047e30a4179acb6cfe926c5f6fc4e447addd69ed (patch)
tree99ecd67dc7baf426ec8fb036accf828305e09e3f /src
parent2a419c75253ff9b566888ffcda031f25414201f9 (diff)
Fix poll using int instead of size_t which caused a warning.
Diffstat (limited to 'src')
-rw-r--r--src/socketengines/socketengine_poll.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/socketengines/socketengine_poll.cpp b/src/socketengines/socketengine_poll.cpp
index 041a5ba75..59991d80d 100644
--- a/src/socketengines/socketengine_poll.cpp
+++ b/src/socketengines/socketengine_poll.cpp
@@ -168,7 +168,7 @@ int SocketEngine::DispatchEvents()
int processed = 0;
ServerInstance->UpdateTime();
- for (int index = 0; index < CurrentSetSize && processed < i; index++)
+ for (size_t index = 0; index < CurrentSetSize && processed < i; index++)
{
struct pollfd& pfd = events[index];