X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Ficonv_decode_danmarc.c;h=f328126632e7e1548e76bbf7799485aee8ad5e3f;hb=3fe8d724fd45258f340a8396877aa93bd0a93d00;hp=3dc0f6efcda4e04bbaf22ec095360181b7631872;hpb=4e58607ee6ef2a5d183262b9a87415fed2311c85;p=yaz-moved-to-github.git diff --git a/src/iconv_decode_danmarc.c b/src/iconv_decode_danmarc.c index 3dc0f6e..f328126 100644 --- a/src/iconv_decode_danmarc.c +++ b/src/iconv_decode_danmarc.c @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2008 Index Data + * Copyright (C) 1995-2009 Index Data * See the file LICENSE for details. */ /** @@ -77,7 +77,7 @@ static unsigned long read_danmarc(yaz_iconv_t cd, else { unsigned long v; - sscanf(inp+1, "%4lx", &v); + sscanf((const char *) inp+1, "%4lx", &v); *no_read = 5; x = v; }