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

@ -130,7 +130,7 @@ bool CommandsParserState::GetTypenameAndMembersFromTypename(const std::string& t
if (foundDefinition == nullptr)
{
currentSeparatorPos = typeNameValue.size();
currentSeparatorPos = static_cast<unsigned>(typeNameValue.size());
foundDefinition = m_repository->GetDataDefinitionByName(typeNameValue);
}

View File

@ -376,7 +376,7 @@ std::unique_ptr<IEvaluation>
operands.emplace_back(std::move(firstStatementPart));
if (result.PeekAndRemoveIfTag(TAG_EVALUATION_OPERATION) == TAG_EVALUATION_OPERATION)
operators.emplace_back(operators.size(), result.NextCapture(CAPTURE_BINARY_OPERATION_TYPE).OpTypeValue());
operators.emplace_back(static_cast<unsigned>(operators.size()), result.NextCapture(CAPTURE_BINARY_OPERATION_TYPE).OpTypeValue());
else
break;