diff options
author | Andreas Jaeger <aj@suse.de> | 2004-02-07 15:57:44 +0000 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2004-02-07 15:57:44 +0000 |
commit | 33ed6903d39b23f1bb5dfd9793fc244244f7b241 (patch) | |
tree | 00245a9ed3d96862216e7049b47a52d31af2794a /iconvdata/gb18030.c | |
parent | cdda3d7dea4a3772dbe61b74aa49f83d98082689 (diff) | |
download | glibc-33ed6903d39b23f1bb5dfd9793fc244244f7b241.zip glibc-33ed6903d39b23f1bb5dfd9793fc244244f7b241.tar.gz glibc-33ed6903d39b23f1bb5dfd9793fc244244f7b241.tar.bz2 |
Update.
2004-02-07 Andreas Jaeger <aj@suse.de>
* iconv/gconv_simple.c (ucs4le_internal_loop): Remove cast used as
lvalue.
(internal_ucs4le_loop_single): Likewise.
(ucs4_internal_loop): Likewise.
(BODY): Likewise.
(internal_ucs4_loop_single): Likewise.
* iconvdata/iso8859-1.c (BODY): Likewise.
* iconvdata/cp1255.c (EMIT_SHIFT_TO_INIT): Likewise.
* iconvdata/cp1258.c (EMIT_SHIFT_TO_INIT): Likewise.
* iconvdata/gb18030.c (BODY): Likewise.
* iconvdata/armscii-8.c (BODY): Likewise.
* stdlib/msort.c (msort_with_tmp): Likewise.
* iconv/gconv_open.c (__gconv_open): Remove conditional expression
as lvalue.
Diffstat (limited to 'iconvdata/gb18030.c')
-rw-r--r-- | iconvdata/gb18030.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/iconvdata/gb18030.c b/iconvdata/gb18030.c index 31f3c20..807ef67 100644 --- a/iconvdata/gb18030.c +++ b/iconvdata/gb18030.c @@ -1,5 +1,5 @@ /* Mapping tables for GBK handling. - Copyright (C) 1999, 2000, 2001, 2002 Free Software Foundation, Inc. + Copyright (C) 1999, 2000, 2001, 2002, 2004 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Sean Chen <seanc@turbolinux.com.cn>, 1999. @@ -25769,7 +25769,8 @@ static const unsigned char __ucs_to_gb18030_tab2[8192][2] = } \ } \ \ - *((uint32_t *) outptr)++ = ch; \ + *((uint32_t *) outptr) = ch; \ + outptr += sizeof (uint32_t); \ } #define LOOP_NEED_FLAGS #define ONEBYTE_BODY \ |