]> git.ipfire.org Git - thirdparty/glibc.git/commit
iconvdata: Fix clang -Wstring-plus-int clang warning
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Fri, 17 Oct 2025 19:12:50 +0000 (16:12 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Tue, 21 Oct 2025 12:24:14 +0000 (09:24 -0300)
commitea3f174e8508b7427fb39684331425492018b8fe
tree058e34dd874c77b0ea8660b6b9b3d017f78fef56
parentd7dbcab417ae42c2808c94fb67d5d0fbdcc296af
iconvdata: Fix clang -Wstring-plus-int clang warning

clang issues an warning adding '{unsigned} int' to a string does not
append to the string.

Use array indexes instead of string addition (it is simpler than
add a supress warning).

Reviewed-by: Sam James <sam@gentoo.org>
iconvdata/gbk.c
iconvdata/iso-2022-cn-ext.c
iconvdata/iso-2022-cn.c