aboutsummaryrefslogtreecommitdiff
path: root/iconvdata/cns11643.h
diff options
context:
space:
mode:
Diffstat (limited to 'iconvdata/cns11643.h')
-rw-r--r--iconvdata/cns11643.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/iconvdata/cns11643.h b/iconvdata/cns11643.h
index 8c73c06dff..176cb1feab 100644
--- a/iconvdata/cns11643.h
+++ b/iconvdata/cns11643.h
@@ -107,7 +107,7 @@ ucs4_to_cns11643 (uint32_t wch, char *s, size_t avail)
unsigned int ch = (unsigned int) wch;
char buf[2];
const char *cp = buf;
- int needed = 2;
+ size_t needed = 2;
switch (ch)
{