X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=util%2Fmarcdump.c;h=44b79dc52337d8a818ce1c808dd9a45334acc0ed;hp=c27e44f22425562326d13c2be76f1f402d556082;hb=be6bf53019f49c1448f0161e3b0ce8d3b5b09ec0;hpb=ba1eb985bfd53a8cfbfd251e65688921dba56236 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;