X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=util%2Fmarcdump.c;h=8014113897bec58d7088c36a17dfb3b3159fded7;hb=1429ec287c69a4a0b6a77b063af6796c529ff796;hp=e0565932d6201a9d70b87e726a95cfed4c314a3e;hpb=626ee9b09c95c3585c432623c042872b0d1fea92;p=yaz-moved-to-github.git 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')