Skip to content

Commit

Permalink
Fix sign-compare warning
Browse files Browse the repository at this point in the history
  • Loading branch information
ymd-stella committed Oct 8, 2022
1 parent b92fac0 commit b55ba92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stella_vslam/mapping_module.cc
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ void mapping_module::triangulate_with_two_keyframes(const std::shared_ptr<data::
#ifdef USE_OPENMP
#pragma omp parallel for
#endif
for (int64_t i = 0; i < matches.size(); ++i) {
for (int64_t i = 0; i < static_cast<int64_t>(matches.size()); ++i) {
const auto idx_1 = matches.at(i).first;
const auto idx_2 = matches.at(i).second;

Expand Down

0 comments on commit b55ba92

Please sign in to comment.