Skip to content

Commit

Permalink
fix C4018
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoKle committed Jul 12, 2023
1 parent ba0dcf5 commit 7b9a73d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion com/Server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ std::list<types::Flight_t> Server::allFlights(const std::string& airport) {
Json::Value measuresArray = flight["measures"];
std::vector<vacdm::types::Measure> parsedMeasures;
if (!measuresArray.empty()) {
for (int i = 0; i < measuresArray.size(); i++) {
for (size_t i = 0; i < measuresArray.size(); i++) {
vacdm::types::Measure measure;
// Extract the ident and value fields from the JSON object
measure.ident = measuresArray[i]["ident"].asString();
Expand Down

0 comments on commit 7b9a73d

Please sign in to comment.