summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-12-29 07:32:44 +0000
committerUlrich Drepper <drepper@redhat.com>1999-12-29 07:32:44 +0000
commit15a2315cb457be0599d7a662e64aa54e560f96f0 (patch)
tree0e9915fb5d494269e1637674e5a78368d0700f81 /iconvdata/euc-tw.c
parentUpdate. (diff)
downloadglibc-15a2315cb457be0599d7a662e64aa54e560f96f0.tar.gz
glibc-15a2315cb457be0599d7a662e64aa54e560f96f0.tar.bz2
glibc-15a2315cb457be0599d7a662e64aa54e560f96f0.zip
Update.
* iconvdata/Makefile (modules): Add ISO-2022-CN. Add link rules for this module. (distribute): Add iso-2022-cn.c and cns11643l2.h. * iconvdata/cns11643l2.h: New file. * iconvdata/iso-2022-cn.c: New file. * iconvdata/gconv-modules: Add entries for ISO-2022-CN module. * iconvdata/cns11643l1.h (cns11643l1_to_ucs4): Make string argument unsigned. (ucs4_to_cns11643l1): Likewise. * iconvdata/euc-tw.c: Correct parameter passed to cns11643l1_to_ucs4. * iconvdata/iso-2022-kr.c: Remove unnecessary test from conversion loop to UCS4. Optimize recognition of escape sequences a bit.
Diffstat (limited to 'iconvdata/euc-tw.c')
-rw-r--r--iconvdata/euc-tw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/iconvdata/euc-tw.c b/iconvdata/euc-tw.c
index 477290889d..036baaebb1 100644
--- a/iconvdata/euc-tw.c
+++ b/iconvdata/euc-tw.c
@@ -97,7 +97,7 @@
else \
{ \
/* This is code set 1: CNS 11643, plane 1. */ \
- const char *endp = inptr; \
+ const unsigned char *endp = inptr; \
\
ch = cns11643l1_to_ucs4 (&endp, \
NEED_LENGTH_TEST ? inend - inptr : 2, \