mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-20 01:49:05 +08:00
Data validator: Fix compile warning on signedness
This commit is contained in:
parent
fefdcd3fa9
commit
9625848c8a
@ -109,7 +109,7 @@ DataValidatorGroup::get_best(uint64_t timestamp, int *index)
|
||||
while (next != nullptr) {
|
||||
float confidence = next->confidence(timestamp);
|
||||
|
||||
if (i == pre_check_best) {
|
||||
if (static_cast<int>(i) == pre_check_best) {
|
||||
pre_check_prio = next->priority();
|
||||
pre_check_confidence = confidence;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user