From b0df6f1a8bd0c748c0efc1b64fd0e49b65dc1812 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Sun, 7 Mar 2004 09:33:54 +0000 Subject: (BODY): Remove cast used as lvalue. --- iconvdata/iso-2022-cn-ext.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'iconvdata') diff --git a/iconvdata/iso-2022-cn-ext.c b/iconvdata/iso-2022-cn-ext.c index 648b4b3..3795d24 100644 --- a/iconvdata/iso-2022-cn-ext.c +++ b/iconvdata/iso-2022-cn-ext.c @@ -1,5 +1,5 @@ /* Conversion module for ISO-2022-CN-EXT. - Copyright (C) 2000-2002 Free Software Foundation, Inc. + Copyright (C) 2000-2002, 2004 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , 2000. @@ -377,7 +377,8 @@ enum } \ } \ \ - *((uint32_t *) outptr)++ = ch; \ + *((uint32_t *) outptr) = ch; \ + outptr += sizeof (uint32_t); \ } #define EXTRA_LOOP_DECLS , int *setp #define INIT_PARAMS int set = (*setp >> 3) & CURRENT_MASK; \ -- cgit v1.1