summaryrefslogtreecommitdiff
path: root/src/socketengines/socketengine_iocp.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-09-04 09:31:18 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-09-04 09:31:18 +0000
commit2cf32b03206531223d847881d58b452b81d92b77 (patch)
treef5d4fa16e3f75b59b123b9ba65bec156839839e0 /src/socketengines/socketengine_iocp.cpp
parentcca9826f431d25cb52328789e7cbc7613adae435 (diff)
fix a warning. I am on a warning zapping crusade today.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10380 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/socketengines/socketengine_iocp.cpp')
-rw-r--r--src/socketengines/socketengine_iocp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/socketengines/socketengine_iocp.cpp b/src/socketengines/socketengine_iocp.cpp
index 2a0c4d416..5c011deb8 100644
--- a/src/socketengines/socketengine_iocp.cpp
+++ b/src/socketengines/socketengine_iocp.cpp
@@ -291,7 +291,7 @@ int IOCPEngine::DispatchEvents()
while (GetQueuedCompletionStatus(m_completionPort, &len, &intfd, &overlap, 1000))
{
- if (intfd < 0 || intfd > MAX_DESCRIPTORS)
+ if (intfd > (unsigned long)MAX_DESCRIPTORS)
continue;
// woot, we got an event on a socket :P