summaryrefslogtreecommitdiff
path: root/iconvdata/tscii.c
diff options
context:
space:
mode:
Diffstat (limited to 'iconvdata/tscii.c')
-rw-r--r--iconvdata/tscii.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/iconvdata/tscii.c b/iconvdata/tscii.c
index 66e4062a3f..50a5ad5f36 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 <bruno@clisp.org>, 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]; \