From d116e75f980d549cdf93faf51bd2370952bd2c40 Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Tue, 25 Apr 2017 17:59:00 +0200 Subject: [PATCH] Fix warning with gcc --- src/algorithms/PVT/libs/rtklib_solver.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/algorithms/PVT/libs/rtklib_solver.cc b/src/algorithms/PVT/libs/rtklib_solver.cc index 9e6b52c0e..83c410d39 100644 --- a/src/algorithms/PVT/libs/rtklib_solver.cc +++ b/src/algorithms/PVT/libs/rtklib_solver.cc @@ -201,7 +201,7 @@ bool rtklib_solver::get_PVT(std::map gnss_observables_map, dou // (more precise!), and attach the L2 observation to the L1 observation in RTKLIB structure for (int i=0;isecond.PRN) + if (eph_data[i].sat == static_cast(gnss_observables_iter->second.PRN)) { eph_data[i]=eph_to_rtklib(gps_cnav_ephemeris_iter->second); obs_data[valid_obs]=insert_obs_to_rtklib(obs_data[valid_obs],