summaryrefslogtreecommitdiff
path: root/src/socket.cpp
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2019-12-09 01:34:02 +0000
committerPeter Powell <petpow@saberuk.com>2019-12-09 01:34:02 +0000
commitad50225dc3d5ce6e44a5009351a7434b7249d233 (patch)
tree02b160ea49831a6ee192ba759768a2d0266e24a3 /src/socket.cpp
parent350a01d60c94fbdd3c0b6361b98a77b148a35116 (diff)
Make BindPorts return size_t instead of int.
Diffstat (limited to 'src/socket.cpp')
-rw-r--r--src/socket.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/socket.cpp b/src/socket.cpp
index f19af36bb..736e09486 100644
--- a/src/socket.cpp
+++ b/src/socket.cpp
@@ -54,9 +54,9 @@ bool InspIRCd::BindPort(ConfigTag* tag, const irc::sockets::sockaddrs& sa, std::
return true;
}
-int InspIRCd::BindPorts(FailedPortList& failed_ports)
+size_t InspIRCd::BindPorts(FailedPortList& failed_ports)
{
- int bound = 0;
+ size_t bound = 0;
std::vector<ListenSocket*> old_ports(ports.begin(), ports.end());
ConfigTagList tags = ServerInstance->Config->ConfTags("bind");