X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=util%2Fyaziconv.c;h=a755a7d85818f6ae4eeb7c4a13c000804bc3df2a;hb=acbea5b1df81001dc8c0e1eb75386796dde425b3;hp=958aa9acd7ae8b6885650b060f7d09e0864fec35;hpb=38d29054baec012561d8a69ade2a55d6bee22c00;p=yaz-moved-to-github.git diff --git a/util/yaziconv.c b/util/yaziconv.c index 958aa9a..a755a7d 100644 --- a/util/yaziconv.c +++ b/util/yaziconv.c @@ -1,14 +1,15 @@ /* - * Copyright (c) 1997-2003, Index Data + * Copyright (C) 1995-2005, Index Data ApS * See the file LICENSE for details. * - * $Id: yaziconv.c,v 1.1 2003-04-23 20:34:08 adam Exp $ + * $Id: yaziconv.c,v 1.5 2006-04-21 10:28:07 adam Exp $ */ #if HAVE_CONFIG_H #include #endif +#include #include #include #include @@ -50,8 +51,8 @@ void convert (FILE *inf, yaz_iconv_t cd, int verbose) } if (verbose > 1) { - fprintf (stderr, "yaz_iconv: inbytesleft=%d outbytesleft=%d\n", - inbytesleft, outbytesleft); + fprintf (stderr, "yaz_iconv: inbytesleft=%ld outbytesleft=%ld\n", + (long) inbytesleft, (long) outbytesleft); } r = yaz_iconv (cd, &inbuf, &inbytesleft, &outbuf, &outbytesleft); @@ -179,3 +180,11 @@ int main (int argc, char **argv) yaz_iconv_close (cd); return 0; } +/* + * Local variables: + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + * vim: shiftwidth=4 tabstop=8 expandtab + */ +