]> 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)
committerBruno Haible <bruno@clisp.org>
Fri, 24 Nov 2023 07:28:39 +0000 (08:28 +0100)
commit08ac865d9ef764cea1b760fe911fa45515ee828f
treef68218fc38ea6ba254a4f3b875ac48916595103f
parent6545a040af554f325c0cd63779a46f3f37222541
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