2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2026-01-13 20:21:48 +00:00

refactor: fix additional zcg x64 warnings

This commit is contained in:
Jan
2025-04-28 11:54:51 +01:00
parent d938f91541
commit 3adbe5a275
12 changed files with 124 additions and 130 deletions

View File

@@ -98,7 +98,7 @@ bool ArgumentParser::ParseArguments(std::vector<std::string>& args)
m_matched_options[matchedOption] = std::vector<std::string>();
}
const auto parameterCount = matchedOption->m_parameters.size();
const auto parameterCount = static_cast<unsigned>(matchedOption->m_parameters.size());
if (argIndex + parameterCount >= argCount)
{
std::cout << std::format("Not enough parameters for option '{}'.\n", arg);