File aspell-strict-aliasing.patch of Package aspell.35382

--- 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;
openSUSE Build Service is sponsored by