diff options
author | Peter Powell <petpow@saberuk.com> | 2016-08-19 13:59:07 +0100 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2016-08-19 16:10:00 +0100 |
commit | 047e30a4179acb6cfe926c5f6fc4e447addd69ed (patch) | |
tree | 99ecd67dc7baf426ec8fb036accf828305e09e3f /src/socketengines | |
parent | 2a419c75253ff9b566888ffcda031f25414201f9 (diff) |
Fix poll using int instead of size_t which caused a warning.
Diffstat (limited to 'src/socketengines')
-rw-r--r-- | src/socketengines/socketengine_poll.cpp | 2 |
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]; |