1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-10-30 06:36:21 +00:00

Fix for cross-compilation

This commit is contained in:
Carles Fernandez 2024-06-30 10:24:21 +02:00
parent 413e5309ba
commit d984822b45
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D

View File

@ -317,7 +317,7 @@ void osnma_msg_receiver::local_time_verification(const std::shared_ptr<OSNMA_msg
// std::cout << "Galileo OSNMA: d_receiver_time: " << d_receiver_time << std::endl;
}
// verify time constraint
std::time_t delta_T = abs(d_receiver_time - d_GST_SIS);
std::time_t delta_T = std::abs(static_cast<int64_t>(d_receiver_time - d_GST_SIS));
if (delta_T <= d_T_L)
{
d_tags_allowed = tags_to_verify::all;