aboutsummaryrefslogtreecommitdiff
path: root/iconvdata/euc-jisx0213.c
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2004-03-07 09:37:36 +0000
committerAndreas Jaeger <aj@suse.de>2004-03-07 09:37:36 +0000
commita7467d522b9966392fe8626ffb5916c5e4369062 (patch)
tree61b8fb358f9038a8f44c853e7cc5d3c4e75898b2 /iconvdata/euc-jisx0213.c
parentb0df6f1a8bd0c748c0efc1b64fd0e49b65dc1812 (diff)
downloadglibc-a7467d522b9966392fe8626ffb5916c5e4369062.zip
glibc-a7467d522b9966392fe8626ffb5916c5e4369062.tar.gz
glibc-a7467d522b9966392fe8626ffb5916c5e4369062.tar.bz2
Update.
2004-03-07 Andreas Jaeger <aj@suse.de> * iconvdata/iso-2022-cn-ext.c (BODY): Remove cast used as lvalue. * iconvdata/tcvn5712-1.c (EMIT_SHIFT_TO_INIT): Likewise. * iconvdata/euc-jisx0213.c (EMIT_SHIFT_TO_INIT): Likewise. * iconvdata/shift_jisx0213.c (EMIT_SHIFT_TO_INIT): Likewise. * iconvdata/tscii.c (EMIT_SHIFT_TO_INIT): Likewise.
Diffstat (limited to 'iconvdata/euc-jisx0213.c')
-rw-r--r--iconvdata/euc-jisx0213.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/iconvdata/euc-jisx0213.c b/iconvdata/euc-jisx0213.c
index dc6ccfd..e7a9554 100644
--- a/iconvdata/euc-jisx0213.c
+++ b/iconvdata/euc-jisx0213.c
@@ -1,5 +1,5 @@
/* Conversion from and to EUC-JISX0213.
- Copyright (C) 2002 Free Software Foundation, Inc.
+ Copyright (C) 2002, 2004 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Bruno Haible <bruno@clisp.org>, 2002.
@@ -83,7 +83,8 @@
if (__builtin_expect (outbuf + 4 <= outend, 1)) \
{ \
/* Write out the last character. */ \
- *((uint32_t *) outbuf)++ = data->__statep->__count >> 3; \
+ *((uint32_t *) outbuf) = data->__statep->__count >> 3; \
+ outbuf += sizeof (uint32_t); \
data->__statep->__count = 0; \
} \
else \