From: Frank Mehnert <[email protected]> Perform an explicit cast to prevent the corresponding compiler warning.
Signed-off-by: Marcus Haehnel <[email protected]> --- libiconv/iconv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libiconv/iconv.c b/libiconv/iconv.c index 0462f6e10..ca92de8dd 100644 --- a/libiconv/iconv.c +++ b/libiconv/iconv.c @@ -384,7 +384,7 @@ size_t iconv(iconv_t cd, char **restrict in, size_t *restrict inb, char **restri if (c < 128) break; else { wchar_t wc; - l = utf8dec_wchar(&wc, *in, *inb); + l = utf8dec_wchar(&wc, (unsigned char*)(*in), *inb); c = wc; } if (!l) l++; -- 2.45.2 _______________________________________________ devel mailing list -- [email protected] To unsubscribe send an email to [email protected]
