X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=util%2Fmarcdump.c;h=8014113897bec58d7088c36a17dfb3b3159fded7;hp=e0565932d6201a9d70b87e726a95cfed4c314a3e;hb=d57ade59211707b9bcfacc61039e446c9fa3f36f;hpb=3897c9638ab22fb5374307f63d6403c0ed754a43 diff --git a/util/marcdump.c b/util/marcdump.c index e056593..8014113 100644 --- a/util/marcdump.c +++ b/util/marcdump.c @@ -2,7 +2,7 @@ * Copyright (C) 1995-2006, Index Data ApS * See the file LICENSE for details. * - * $Id: marcdump.c,v 1.36 2006-04-19 10:05:04 adam Exp $ + * $Id: marcdump.c,v 1.37 2006-04-21 10:28:07 adam Exp $ */ #define _FILE_OFFSET_BITS 64 @@ -139,7 +139,8 @@ static void dump(const char *fname, const char *from, const char *to, if (r < 5) { if (r && print_offset && verbose) - printf ("\n", r); + printf ("\n", + (long) r); break; } while (*buf < '0' || *buf > '9')