summary refs log tree commit diff
path: root/iconvdata/iso-2022-cn-ext.c
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2004-03-07 09:33:54 +0000
committerAndreas Jaeger <aj@suse.de>2004-03-07 09:33:54 +0000
commitb0df6f1a8bd0c748c0efc1b64fd0e49b65dc1812 (patch)
tree1ef6e2f965bbd63323d4975bea763838209ce4ca /iconvdata/iso-2022-cn-ext.c
parent9a850087274c6d7ddfe5b139650c3cf4b435fca5 (diff)
downloadglibc-b0df6f1a8bd0c748c0efc1b64fd0e49b65dc1812.tar.gz
glibc-b0df6f1a8bd0c748c0efc1b64fd0e49b65dc1812.tar.xz
glibc-b0df6f1a8bd0c748c0efc1b64fd0e49b65dc1812.zip
(BODY): Remove cast used as lvalue.
Diffstat (limited to 'iconvdata/iso-2022-cn-ext.c')
-rw-r--r--iconvdata/iso-2022-cn-ext.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/iconvdata/iso-2022-cn-ext.c b/iconvdata/iso-2022-cn-ext.c
index 648b4b3213..3795d24115 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 <drepper@cygnus.com>, 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; \