Skip to content
This repository was archived by the owner on Apr 28, 2023. It is now read-only.

Commit 964a438

Browse files
Merge pull request #502 from facebookresearch/pr/warning
shut up comparison between signed and unsigned integer expressions warning
2 parents de3eea1 + e6ddcee commit 964a438

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tc/core/compiler.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ void checkInputsCompliant(
8989
helpThrowInvalidStride(
9090
halideComponents.getDef().params()[i], inputsInfo[i]);
9191
}
92-
for (size_t j = 0; j < dldim - 1; ++j) {
92+
for (int j = 0; j < dldim - 1; ++j) {
9393
if (dlstrides[j] < dlstrides[j + 1] * dlsizes[j + 1]) {
9494
helpThrowInvalidStride(
9595
halideComponents.getDef().params()[i], inputsInfo[i]);

0 commit comments

Comments
 (0)