]> git.mxchange.org Git - flightgear.git/blobdiff - src/ATCDCL/ATCutils.cxx
Merge branch 'next' into navaids-radio
[flightgear.git] / src / ATCDCL / ATCutils.cxx
index fe484f25674ca285017f8ef05a0cba989207b755..313405e21bdb7cd9b18e68274c4c463f96ee97f3 100644 (file)
@@ -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);
 }
-       
+