From a71a5cdf456643042e30c69fea4f12a197c11bdc Mon Sep 17 00:00:00 2001 From: Csaba Halasz Date: Sat, 19 Sep 2009 21:41:12 +0200 Subject: [PATCH] fix ATIS on 64bit machines --- src/ATCDCL/atis.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ATCDCL/atis.cxx b/src/ATCDCL/atis.cxx index 82f2a8f97..ca9cfc7bc 100644 --- a/src/ATCDCL/atis.cxx +++ b/src/ATCDCL/atis.cxx @@ -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, " /_ ");