From fc160b34142dd0645ea914fe5af40be2cf25cff7 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Mon, 3 Jul 2023 15:27:31 +0100 Subject: Make MaxTargets a size_t. --- src/commands.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/commands.cpp') diff --git a/src/commands.cpp b/src/commands.cpp index 1707a173f..716506459 100644 --- a/src/commands.cpp +++ b/src/commands.cpp @@ -64,7 +64,7 @@ bool CommandParser::LoopCall(User* user, Command* handler, const CommandBase::Pa irc::commasepstream items1(parameters[splithere]); irc::commasepstream items2(extra >= 0 ? parameters[extra] : "", true); std::string item; - unsigned int max = 0; + size_t max = 0; LocalUser* localuser = IS_LOCAL(user); /* Attempt to iterate these lists and call the command handler -- cgit v1.3.1-10-gc9f91