mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-08-05 21:33:47 +00:00
Fix comparison int vs unsigned int
This commit is contained in:
parent
6daf42f5aa
commit
74ae513d70
@ -606,7 +606,7 @@ bool dll_pll_veml_tracking::acquire_secondary()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (abs(corr_value) == d_secondary_code_length)
|
if (abs(corr_value) == static_cast<int>(d_secondary_code_length))
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -581,7 +581,7 @@ bool dll_pll_veml_tracking_fpga::acquire_secondary()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (abs(corr_value) == d_secondary_code_length)
|
if (abs(corr_value) == static_cast<int>(d_secondary_code_length))
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user