1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-06-25 22:43:14 +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
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D
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;
}

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