X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=util%2Fyaziconv.c;h=35e38e3ea28dbe863f6a681aebbfc91323bac431;hb=dc720b90d5ff1d5c5a1821de3a0e335eb64a1951;hp=af52e2d3c56a869e58a070661dfa02f6fd49f7e3;hpb=4c176312acdc3444c9afc820f76a393e64668e52;p=yaz-moved-to-github.git diff --git a/util/yaziconv.c b/util/yaziconv.c index af52e2d..35e38e3 100644 --- a/util/yaziconv.c +++ b/util/yaziconv.c @@ -1,14 +1,15 @@ /* - * Copyright (C) 1995-2005, Index Data ApS + * Copyright (C) 1995-2007, Index Data ApS * See the file LICENSE for details. * - * $Id: yaziconv.c,v 1.2 2005-01-15 19:47:15 adam Exp $ + * $Id: yaziconv.c,v 1.6 2007-01-03 08:42:16 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 + */ +