From ad50225dc3d5ce6e44a5009351a7434b7249d233 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Mon, 9 Dec 2019 01:34:02 +0000 Subject: Make BindPorts return size_t instead of int. --- src/socket.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/socket.cpp') 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 old_ports(ports.begin(), ports.end()); ConfigTagList tags = ServerInstance->Config->ConfTags("bind"); -- cgit v1.3.1-10-gc9f91