X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FATCDCL%2FATCutils.cxx;h=2960401728115670bf5e03693b32aa1f71bb0ef2;hb=0a879d3c6579f715dd8d247b8e20b00d7f2f64d9;hp=fe484f25674ca285017f8ef05a0cba989207b755;hpb=02c75ba583bdb1ded2565edc31cefaf093b057bd;p=flightgear.git diff --git a/src/ATCDCL/ATCutils.cxx b/src/ATCDCL/ATCutils.cxx index fe484f256..296040172 100644 --- a/src/ATCDCL/ATCutils.cxx +++ b/src/ATCDCL/ATCutils.cxx @@ -23,8 +23,8 @@ #endif #include +#include -#include #include #include #include @@ -86,7 +86,7 @@ string ConvertNumToSpokenDigits(const int& n) { // Anything else is not guaranteed to be handled correctly! string ConvertRwyNumToSpokenString(const string &rwy) { string rslt; - for (int ii = 0; ii < rwy.length(); ii++){ + for (size_t ii = 0; ii < rwy.length(); ii++){ if (rslt.length()) rslt += " "; string ch = rwy.substr(ii,1); if (isdigit(ch[0])) rslt += ConvertNumToSpokenDigits(atoi(ch.c_str())); @@ -268,4 +268,4 @@ bool OnRunway(const SGGeod& pt, const FGRunwayBase* rwy) { return(false); } - +