X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fadvancegreek.c;h=ea29153f43cd9414da42adf654eccdb3ee185f81;hp=e0b667924a28a7251925fcedc0622639054ec47d;hb=77c5a4fca8b516fd39b8ba213daed17a465a6b2a;hpb=88d3bedf772316f87e1996f655ccf8d1e2589755 diff --git a/src/advancegreek.c b/src/advancegreek.c index e0b6679..ea29153 100644 --- a/src/advancegreek.c +++ b/src/advancegreek.c @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2010 Index Data + * Copyright (C) 1995-2012 Index Data * See the file LICENSE for details. */ /** @@ -14,7 +14,6 @@ #include #include #include -#include #include "iconv-p.h" @@ -366,7 +365,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;