X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=util%2Fmarcdump.c;h=44b79dc52337d8a818ce1c808dd9a45334acc0ed;hb=2cb7bb0d334f94db0454178721b8777c64488909;hp=c27e44f22425562326d13c2be76f1f402d556082;hpb=e8ac1e56929fe175624fb63e619c184b58ef63b9;p=yaz-moved-to-github.git diff --git a/util/marcdump.c b/util/marcdump.c index c27e44f..44b79dc 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.42 2006-08-28 14:18:23 adam Exp $ + * $Id: marcdump.c,v 1.43 2006-10-09 14:22:44 heikki Exp $ */ #define _FILE_OFFSET_BITS 64 @@ -182,8 +182,8 @@ static void dump(const char *fname, const char *from, const char *to, if (len < 25 || len > 100000) { long off = ftell(inf) - 5; - printf("Bad Length %d read at offset %ld (%lx)\n", - len, (long) off, (long) off); + printf("Bad Length %ld read at offset %ld (%lx)\n", + (long)len, (long) off, (long) off); break; } rlen = len - 5;