X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fiso5428.c;h=8d7b3c28f55b8b505805fed417acef61032c7a54;hp=3df6b5dcee49056cbf7862e20502e983d3d57858;hb=8cb8947e3a7bff4dbf8f124871cb4905df1adce7;hpb=473824797f568578dc17d7242551cb2f7ccef46c diff --git a/src/iso5428.c b/src/iso5428.c index 3df6b5d..8d7b3c2 100644 --- a/src/iso5428.c +++ b/src/iso5428.c @@ -356,7 +356,7 @@ static size_t write_iso_5428_1984(yaz_iconv_t cd, yaz_iconv_encoder_t en, yaz_iconv_set_errno(cd, YAZ_ICONV_EILSEQ); return (size_t) -1; } - out[k++] = x; + out[k++] = (unsigned char ) x; break; } *outbytesleft -= k;