about summary refs log tree commit diff
path: root/iconvdata/gb18030.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-11-28 07:10:56 +0000
committerUlrich Drepper <drepper@redhat.com>2000-11-28 07:10:56 +0000
commit8c0b7170956ed028472b4c1ef1d94608101da565 (patch)
treedf9e044b765e246efbce04f0af6ff7d1e82956fa /iconvdata/gb18030.c
parentd6b544fe2361df88d93e68b86ddaea5a49b4094d (diff)
downloadglibc-8c0b7170956ed028472b4c1ef1d94608101da565.tar.gz
glibc-8c0b7170956ed028472b4c1ef1d94608101da565.tar.xz
glibc-8c0b7170956ed028472b4c1ef1d94608101da565.zip
Update.
	* test-skeleton.c: Mark timeout_handler with noreturn.
	* iconv/skeleton.c (get16u): Add const to cast.
	(get32u): Likewise.
	* iconvdata/gb18030.c: Likewise.
	* iconvdata/iso-2022-cn-ext.c: Likewise.
	* iconvdata/ansi_x3.110.c: Add cast to avoid warning.
	* iconvdata/big5.c: Likewise.
	* iconvdata/big5hkscs.c: Likewise.
	* iconvdata/iso_6937.c: Likewise.
	* iconvdata/iso_6937-2.c: Likewise.
	* iconvdata/t.61.c: Likewise.
	* iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
	* iconvdata/unicode.c: Likewise.
	* iconvdata/utf-16.c: Likewise.
	* iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
	* iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
	with little code shuffling.
Diffstat (limited to 'iconvdata/gb18030.c')
-rw-r--r--iconvdata/gb18030.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/iconvdata/gb18030.c b/iconvdata/gb18030.c
index e412f481a3..02ace164b5 100644
--- a/iconvdata/gb18030.c
+++ b/iconvdata/gb18030.c
@@ -41825,7 +41825,7 @@ static const char __ucs_to_gb18030_tab63[][2] =
 #define LOOPFCT			TO_LOOP
 #define BODY \
   {									      \
-    uint32_t ch = *((uint32_t *) inptr);				      \
+    uint32_t ch = *((const uint32_t *) inptr);				      \
     unsigned char buf[4];						      \
     const unsigned char *cp = buf;					      \
     int len = 2;	/* This is the most often case.  */		      \