]> git.mxchange.org Git - flightgear.git/commitdiff
fix ATIS on 64bit machines
authorCsaba Halasz <hcs@vostro.(none)>
Sat, 19 Sep 2009 19:41:12 +0000 (21:41 +0200)
committerTim Moore <timoore@redhat.com>
Sat, 19 Sep 2009 21:50:41 +0000 (23:50 +0200)
src/ATCDCL/atis.cxx

index 82f2a8f972bdabf20919933d84fb28c9fd72beeb..ca9cfc7bc4ae3630c1cbee9260b9da674bb172eb 100644 (file)
@@ -442,7 +442,7 @@ int FGATIS::GenTransmission(const int regen, const int special) {
 // be relatively-more acceptable to the primitive tts system.
 // Note that : ; and . are among the token-delimeters recognized
 // by the tts system.
-  for (unsigned int where;;) {
+  for (size_t where;;) {
     where = transmission.find_first_of(":.");
     if (where == string::npos) break;
     transmission.replace(where, 1, " /_ ");