We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 33f858f commit a98cde4Copy full SHA for a98cde4
kernels/portable/cpu/util/repeat_util.cpp
@@ -68,7 +68,7 @@ bool check_repeat_args(
68
}
69
for (size_t i = 0; i < repeats.size(); i++) {
70
ET_CHECK_OR_RETURN_FALSE(
71
- reformat_self_size[i] * repeats[i] ==
+ reformat_self_size[i] * static_cast<size_t>(repeats[i]) ==
72
static_cast<uint64_t>(out.size(i)),
73
"Expect out size at dimension %zu is %" PRId64 ", but now is %zd",
74
i,
0 commit comments