about summary refs log tree commit diff
path: root/iconvdata/iso8859-1.c
diff options
context:
space:
mode:
Diffstat (limited to 'iconvdata/iso8859-1.c')
-rw-r--r--iconvdata/iso8859-1.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/iconvdata/iso8859-1.c b/iconvdata/iso8859-1.c
index 60ab29d56f..632ebd6176 100644
--- a/iconvdata/iso8859-1.c
+++ b/iconvdata/iso8859-1.c
@@ -1,5 +1,5 @@
 /* Conversion to and from ISO 8859-1.
-   Copyright (C) 1997-1999, 2000-2002 Free Software Foundation, Inc.
+   Copyright (C) 1997-1999, 2000-2004 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
 
@@ -35,7 +35,8 @@
 #define MIN_NEEDED_OUTPUT	MIN_NEEDED_TO
 #define LOOPFCT			FROM_LOOP
 #define BODY \
-  *((uint32_t *) outptr)++ = *inptr++;
+  *((uint32_t *) outptr) = *inptr++;					      \
+  outptr += sizeof (uint32_t);
 #define ONEBYTE_BODY \
   {									      \
     return c;								      \