summaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r--src/inspircd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index 2f08750bd..b9cd9f36c 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -923,7 +923,7 @@ int InspIRCd::Run()
/* Add the listening sockets used for client inbound connections
* to the socket engine
*/
- for (int count = 0; count < stats->BoundPortCount; count++)
+ for (unsigned long count = 0; count < stats->BoundPortCount; count++)
SE->AddFd(Config->openSockfd[count],true,X_LISTEN);
this->WritePID(Config->PID);