Skip to content

Commit

Permalink
Merge pull request #533 from ut-issl/feature/fix-cast-warning
Browse files Browse the repository at this point in the history
Fix loss of data warning
  • Loading branch information
200km committed Oct 31, 2023
2 parents 7ed9031 + 36169e9 commit d7fbd16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/environment/global/gnss_satellites.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1118,7 +1118,7 @@ std::string GnssSatellites::GetLogValue() const {
std::string str_tmp = "";

for (size_t gps_index = 0; gps_index < gps_sat_num_; gps_index++) {
str_tmp += WriteVector(true_info_.GetSatellitePositionEcef(gps_index), 16);
str_tmp += WriteVector(true_info_.GetSatellitePositionEcef((int)gps_index), 16);
}

return str_tmp;
Expand Down

0 comments on commit d7fbd16

Please sign in to comment.