aboutsummaryrefslogtreecommitdiff
path: root/iconv
diff options
context:
space:
mode:
Diffstat (limited to 'iconv')
-rw-r--r--iconv/gconv_simple.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/iconv/gconv_simple.c b/iconv/gconv_simple.c
index 21f3caee92..38b6b56adb 100644
--- a/iconv/gconv_simple.c
+++ b/iconv/gconv_simple.c
@@ -239,7 +239,7 @@ __gconv_transform_ucs4_ascii (struct gconv_step *step,
size_t cnt = 0;
while (data->outbufavail < data->outbufsize
- && cnt + sizeof (wchar_t) + 3 < *inlen)
+ && cnt + 3 < *inlen)
{
if (*newinbuf < L'\0' || *newinbuf > L'\x7f')
{