X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FATCDCL%2FATCutils.cxx;h=313405e21bdb7cd9b18e68274c4c463f96ee97f3;hb=1c5eb0fb3e66c5c3bcc021310c97ea6d208c4b84;hp=fe484f25674ca285017f8ef05a0cba989207b755;hpb=02c75ba583bdb1ded2565edc31cefaf093b057bd;p=flightgear.git diff --git a/src/ATCDCL/ATCutils.cxx b/src/ATCDCL/ATCutils.cxx index fe484f256..313405e21 100644 --- a/src/ATCDCL/ATCutils.cxx +++ b/src/ATCDCL/ATCutils.cxx @@ -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); } - +