1
0
Fork 0

fix ATIS on 64bit machines

This commit is contained in:
Csaba Halasz 2009-09-19 21:41:12 +02:00 committed by Tim Moore
parent 179186e414
commit a71a5cdf45

View 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, " /_ ");