1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-11-25 11:34:53 +00:00

Fix comparison int vs unsigned int

This commit is contained in:
Carles Fernandez
2018-06-03 22:46:02 +02:00
parent 6daf42f5aa
commit 74ae513d70
2 changed files with 2 additions and 2 deletions

View File

@@ -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;
} }

View File

@@ -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;
} }