diff options
Diffstat (limited to 'src/socket.cpp')
-rw-r--r-- | src/socket.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/socket.cpp b/src/socket.cpp index 793e930ff..b9d5fee5f 100644 --- a/src/socket.cpp +++ b/src/socket.cpp @@ -119,7 +119,7 @@ int OpenTCPSocket() bool HasPort(int port, char* addr) { - for (int count = 0; count < ServerInstance->stats->BoundPortCount; count++) + for (unsigned long count = 0; count < ServerInstance->stats->BoundPortCount; count++) { if ((port == Config->ports[count]) && (!strcasecmp(Config->addrs[count],addr))) { |