1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-15 04:30:33 +00:00

Fix warning (unsigned comparison)

This commit is contained in:
Carles Fernandez 2019-07-02 11:26:59 +02:00
parent f0a92f1fb3
commit dfecb45b7f

View File

@ -174,7 +174,7 @@ int Gnss_Sdr_Supl_Client::get_assistance(int i_mcc, int i_mns, int i_lac, int i_
// PERFORM SUPL COMMUNICATION // PERFORM SUPL COMMUNICATION
std::vector<char> cstr(server_name.length() + 1); std::vector<char> cstr(server_name.length() + 1);
for (int i = 0; i != server_name.length(); ++i) for (unsigned int i = 0; i != server_name.length(); ++i)
{ {
cstr[i] = static_cast<char>(server_name[i]); cstr[i] = static_cast<char>(server_name[i]);
} }