summaryrefslogtreecommitdiff
path: root/navit/support/espeak/setlengths.c
diff options
context:
space:
mode:
Diffstat (limited to 'navit/support/espeak/setlengths.c')
-rwxr-xr-xnavit/support/espeak/setlengths.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/navit/support/espeak/setlengths.c b/navit/support/espeak/setlengths.c
index fee14b66c..ed4421bf9 100755
--- a/navit/support/espeak/setlengths.c
+++ b/navit/support/espeak/setlengths.c
@@ -247,14 +247,14 @@ void SetParameter(int parameter, int value, int relative)
-static void DoEmbedded2(int &embix)
+static void DoEmbedded2(int *embix)
{//================================
// There were embedded commands in the text at this point
unsigned int word;
do {
- word = embedded_list[embix++];
+ word = embedded_list[(*embix)++];
if((word & 0x1f) == EMBED_S)
{
@@ -305,7 +305,7 @@ void CalcLengths(Translator *tr)
if(p->synthflags & SFLAG_EMBEDDED)
{
- DoEmbedded2(embedded_ix);
+ DoEmbedded2(&embedded_ix);
}
type = p->type;