]> Savannah Git Hosting - gnulib.git/commit
striconveha: pacify gcc -Wcast-align
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 15 Nov 2023 08:09:03 +0000 (00:09 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 15 Nov 2023 08:09:27 +0000 (00:09 -0800)
commit078e134ed29169129cc1a668cb210d79441ead67
treef7ec33df5ab0b42c3d83083a0cd1f5cc353ee884
parent268f50de3451566eeae7cd0cc15f391a09fad3ea
striconveha: pacify gcc -Wcast-align

* lib/striconveha.c (uniconv_register_autodetect): Rewrite to
avoid the need to cast from char * to a pointer to a more strictly
aligned type.  Use decls after statements to avoid some repetition.
ChangeLog
lib/striconveha.c