[Warnings] Fix warnings

This commit is contained in:
Yunfan Li
2024-07-12 00:26:42 +08:00
parent db1cfa6abc
commit 266aa1ec88
9 changed files with 21 additions and 10 deletions

View File

@@ -17,7 +17,7 @@ bool RangeAction::Execute(Event event)
PrintRange("flee");
}
uint32 pos = param.find(" ");
size_t pos = param.find(" ");
if (pos == std::string::npos)
return false;