--- a/modules/speller/default/writable.cpp +++ b/modules/speller/default/writable.cpp @@ -672,7 +672,7 @@ static void repl_next(WordEntry * w) { - const Str * & i = (const Str * &)(w->intr[0]); + const Str * i = (const Str * )(w->intr[0]); const Str * end = (const Str * )(w->intr[1]); set_word(*w, *i); ++i; --- a/modules/speller/default/writable.cpp +++ b/modules/speller/default/writable.cpp @@ -246,7 +246,7 @@ static void soundslike_next(WordEntry * w) { - const Str * & i = (const Str * &)(w->intr[0]); + const Str * i = (const Str * )(w->intr[0]); const Str * end = (const Str * )(w->intr[1]); set_word(*w, *i); ++i;