mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
Closes: https://bugs.gentoo.org/920641 Signed-off-by: xz-dev <xiangzhedev@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/37731 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
14 lines
446 B
Diff
14 lines
446 B
Diff
diff --git a/libebutils/puts_eucjp.c b/libebutils/puts_eucjp.c
|
|
index 678b296..d4c41b6 100644
|
|
--- a/libebutils/puts_eucjp.c
|
|
+++ b/libebutils/puts_eucjp.c
|
|
@@ -94,7 +94,7 @@ fputs_eucjp_to_locale(const char *string, FILE *stream)
|
|
out_p = buffer;
|
|
out_left = buffer_size;
|
|
|
|
- if (iconv(cd, &in_p, &in_left, &out_p, &out_left) != -1)
|
|
+ if (iconv(cd, (char **)&in_p, &in_left, &out_p, &out_left) != -1)
|
|
break;
|
|
if (errno == E2BIG) {
|
|
/*
|