X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fiso5428.c;h=8d7b3c28f55b8b505805fed417acef61032c7a54;hb=fcb40f9ed16ce6a8ef86997890057af0f7692377;hp=f96d6a9b0f0609a954a09db7cb1ce9adad830774;hpb=0c46d2e66bdeea1600e700124a81a5d0a65d349e;p=yaz-moved-to-github.git diff --git a/src/iso5428.c b/src/iso5428.c index f96d6a9..8d7b3c2 100644 --- a/src/iso5428.c +++ b/src/iso5428.c @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2013 Index Data + * Copyright (C) Index Data * See the file LICENSE for details. */ /** @@ -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;