From a7467d522b9966392fe8626ffb5916c5e4369062 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Sun, 7 Mar 2004 09:37:36 +0000 Subject: Update. 2004-03-07 Andreas Jaeger * 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. --- iconvdata/tscii.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'iconvdata/tscii.c') diff --git a/iconvdata/tscii.c b/iconvdata/tscii.c index 66e4062..50a5ad5 100644 --- a/iconvdata/tscii.c +++ b/iconvdata/tscii.c @@ -1,5 +1,5 @@ /* Conversion from and to TSCII. - 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 , 2002. @@ -98,7 +98,8 @@ break; \ } \ /* Write out the pending character. */ \ - *((uint32_t *) outbuf)++ = data->__statep->__count >> 8; \ + *((uint32_t *) outbuf) = data->__statep->__count >> 8; \ + outbuf += sizeof (uint32_t); \ /* Retrieve the successor state. */ \ data->__statep->__count = \ tscii_next_state[(data->__statep->__count >> 4) & 0x0f]; \ -- cgit v1.1