Skip to content

Commit

Permalink
Fix Warning as Error update for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanNovoselov committed Oct 27, 2022
1 parent 40efd18 commit d161275
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/snippets/src/pass/assign_registers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ bool ngraph::snippets::pass::AssignRegisters::run_on_model(const std::shared_ptr
}
return i;
};
for (size_t i = 0; i < typed_ops.size(); i++) {
for (int i = 0; i < static_cast<int>(typed_ops.size()); i++) {
for (const auto& def : defined_vec[i])
live_intervals_vec[std::make_pair(i, find_last_use(life_in_vec, static_cast<int>(def)))] = def;
for (const auto& def : defined_gpr[i])
Expand Down

0 comments on commit d161275

Please sign in to comment.