1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-14 04:00:34 +00:00
This commit is contained in:
Carles Fernandez 2019-08-25 05:00:48 +02:00
commit 07bb866821
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D

View File

@ -1588,7 +1588,7 @@ void time2epoch(gtime_t t, double *ep)
ep[1] = mon % 12 + 1;
ep[2] = day + 1;
ep[3] = static_cast<int>(sec / 3600);
ep[4] = sec % static_cast<int>(3600 / 60);
ep[4] = static_cast<int>(sec % 3600 / 60);
ep[5] = sec % 60 + t.sec;
}