Skip to content

Commit e4b91fa

Browse files
authored
fix-up
Differential Revision: D75966982 Pull Request resolved: #11362
1 parent 911fb0b commit e4b91fa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

runtime/core/exec_aten/testing_util/tensor_factory.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -626,12 +626,12 @@ inline void validate_strides(
626626
false,
627627
"Stride value and size dont comply at index %d."
628628
" strides[%d]: %d, strides[%d] = %d, sizes[%d] = %d, sizes[%d] = %d",
629-
i,
630-
i,
629+
static_cast<uint32_t>(i),
630+
static_cast<uint32_t>(i),
631631
strides[i],
632632
j,
633633
strides[j],
634-
i,
634+
static_cast<uint32_t>(i),
635635
sizes[i],
636636
j,
637637
sizes[j]);

0 commit comments

Comments
 (0)