aboutsummaryrefslogtreecommitdiff
path: root/iconvdata/iso8859-1.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-03-27 17:27:47 +0000
committerUlrich Drepper <drepper@redhat.com>1998-03-27 17:27:47 +0000
commitf38931a9f060a9ecb2ad544b1c2e2c80060f6724 (patch)
treedc6eafdd66d5b9869b468c3a01944b291600e72a /iconvdata/iso8859-1.c
parent528c1f1cb488deb66d80aba839f150450c256c12 (diff)
downloadglibc-f38931a9f060a9ecb2ad544b1c2e2c80060f6724.zip
glibc-f38931a9f060a9ecb2ad544b1c2e2c80060f6724.tar.gz
glibc-f38931a9f060a9ecb2ad544b1c2e2c80060f6724.tar.bz2
Update.
1998-03-22 Andreas Jaeger <aj@arthur.rhein-neckar.de> * locales/ru_RU: Abbreviations must end with a consonant. Fix for Tuesday by Ilya Ovchinnikov <ilya@taspd13a.npi.msu.su>. [PR libc/517]
Diffstat (limited to 'iconvdata/iso8859-1.c')
-rw-r--r--iconvdata/iso8859-1.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/iconvdata/iso8859-1.c b/iconvdata/iso8859-1.c
index c6465d2..5f98adc 100644
--- a/iconvdata/iso8859-1.c
+++ b/iconvdata/iso8859-1.c
@@ -124,7 +124,8 @@ gconv (struct gconv_step *step, struct gconv_step_data *data,
while (cnt < inchars
&& (outwchars + sizeof (wchar_t) <= data->outbufsize))
{
- *((wchar_t *) (outbuf + outwchars)) = inbuf[cnt];
+ *((wchar_t *) (outbuf + outwchars)) =
+ (unsigned char) inbuf[cnt];
++do_write;
outwchars += sizeof (wchar_t);
++cnt;