Skip to content

Commit 6cd106a

Browse files
committed
fix build error for signed / unsigned comparison
1 parent e30a723 commit 6cd106a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/runtime/hexagon/hexagon/hexagon_common.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ PackedFunc WrapPackedFunc(TVMBackendPackedCFunc faddr, const ObjectPtr<Object>&
8383

8484
TVMValue* arg_values = const_cast<TVMValue*>(args.values);
8585
std::vector<std::pair<size_t, HexagonBuffer*>> buffer_args;
86-
for (size_t i = 0; i < args.num_args; i++) {
86+
for (int i = 0; i < args.num_args; i++) {
8787
if (args.type_codes[i] == kTVMDLTensorHandle) {
8888
DLTensor* tensor = static_cast<DLTensor*>(arg_values[i].v_handle);
8989
buffer_args.emplace_back(i, static_cast<HexagonBuffer*>(tensor->data));

0 commit comments

Comments
 (0)