diff --git a/src/common/snippets/src/pass/softmax_decomposition.cpp b/src/common/snippets/src/pass/softmax_decomposition.cpp index e033abcd45ae8e..36add138d92cb9 100644 --- a/src/common/snippets/src/pass/softmax_decomposition.cpp +++ b/src/common/snippets/src/pass/softmax_decomposition.cpp @@ -76,7 +76,7 @@ ngraph::snippets::pass::SoftmaxDecomposition::SoftmaxDecomposition(const size_t const auto increment = vector_size; const auto inner_dim = shape_rank - 1; const auto inner_master_work_amount = static_cast(master_shape[inner_dim]); - const int outer_dim = shape_rank > 1 ? shape_rank - 2 : -1; + const int outer_dim = shape_rank > 1 ? static_cast(shape_rank - 2) : -1; const auto has_outer_loop = outer_dim >= 0 && master_shape[outer_dim] > 1; /* ====== ReduceMax decomposition ====== */