#endif
#include <sstream>
+#include <cstdlib>
-#include <simgear/math/SGMath.hxx>
#include <simgear/constants.h>
#include <simgear/misc/sg_path.hxx>
#include <simgear/debug/logstream.hxx>
// 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()));
return(false);
}
-
+