Skip to content

Commit 988d4b0

Browse files
committed
[mlir][sparse] fix mlir-window build breakage
Reviewed By: bixia Differential Revision: https://reviews.llvm.org/D121022
1 parent ca8432f commit 988d4b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/lib/ExecutionEngine/SparseTensorUtils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -758,7 +758,7 @@ toMLIRSparseTensor(uint64_t rank, uint64_t nse, uint64_t *shape, V *values,
758758
std::sort(order.begin(), order.end());
759759
for (uint64_t i = 0; i < rank; ++i) {
760760
if (i != order[i]) {
761-
fprintf(stderr, "Permutation is not a permutation of 0..%lu\n", rank);
761+
fprintf(stderr, "Not a permutation of 0..%" PRIu64 "\n", rank);
762762
exit(1);
763763
}
764764
}

0 commit comments

Comments
 (0)