Skip to content

Commit 31f6915

Browse files
lucylqfacebook-github-bot
authored andcommitted
fix-up (#11362)
Summary: Pull Request resolved: #11362 See if this resolves the errors, otherwise revert D75923129. Reviewed By: swolchok Differential Revision: D75966982
1 parent 8abd26a commit 31f6915

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)