X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fadvancegreek.c;h=463c59548891fe04a8cf95a6a08e1af9929a311d;hb=7b1bbfddfb6e9d68c645388e3279a4990a6592ef;hp=e82a0dc603268e99b52cbc2eab31628a3a924fb5;hpb=3ceb91da546fb4ef66bbea57b0ef219b3af21f65;p=yaz-moved-to-github.git diff --git a/src/advancegreek.c b/src/advancegreek.c index e82a0dc..463c595 100644 --- a/src/advancegreek.c +++ b/src/advancegreek.c @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2009 Index Data + * Copyright (C) 1995-2011 Index Data * See the file LICENSE for details. */ /** @@ -366,7 +366,7 @@ static size_t write_advancegreek(yaz_iconv_t cd, yaz_iconv_encoder_t w, yaz_iconv_set_errno(cd, YAZ_ICONV_EILSEQ); return (size_t) -1; } - out[k++] = x; + out[k++] = (unsigned char ) x; break; } *outbytesleft -= k;