From 3c37091eb3e508bff58b297eaa0feab5e92ff53b Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Mon, 20 Mar 2006 15:17:30 +0000 Subject: [PATCH] Fix printf()-format mismatch error, %d/zint. --- index/extract.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index/extract.c b/index/extract.c index 6718670..9d2742c 100644 --- a/index/extract.c +++ b/index/extract.c @@ -1,4 +1,4 @@ -/* $Id: extract.c,v 1.203 2006-02-20 18:39:43 adam Exp $ +/* $Id: extract.c,v 1.204 2006-03-20 15:17:30 mike Exp $ Copyright (C) 1995-2005 Index Data ApS @@ -1374,8 +1374,8 @@ void extract_flushRecordKeys (ZebraHandle zh, SYSNO sysno, { if (staticrank < 0) { - yaz_log(YLOG_WARN, "staticrank = %d. Setting to 0", - staticrank); + yaz_log(YLOG_WARN, "staticrank = %ld. Setting to 0", + (long) staticrank); staticrank = 0; } *keyp++ = staticrank; -- 1.7.10.4