iconv: fix type mismatches
commit04eae467796a784c79d016d8bc18cbb23ddffb74
authorMax Filippov <jcmvbkbc@gmail.com>
Wed, 1 May 2024 11:35:18 +0000 (1 04:35 -0700)
committerWaldemar Brodkorb <wbx@openadk.org>
Thu, 9 May 2024 07:50:48 +0000 (9 09:50 +0200)
tree97f9375dafbd0298c1fcf0af5cbad95303df4975
parent035e048fd68141779c147e387f608e8da6713d57
iconv: fix type mismatches

With gcc-14 warnings caused by type mismatches turn to errors:
- iconv_t is not a pointer type, convert the result directly to iconv_t
  in combine_to_from()
- unsigned int is not the same as wchar_t, use temporary wchar_t wc as
  an argument for utf8dec_wchar()

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
libiconv/iconv.c