Fix printf()-format mismatch error, %d/zint.
authorMike Taylor <mike@indexdata.com>
Mon, 20 Mar 2006 15:17:30 +0000 (15:17 +0000)
committerMike Taylor <mike@indexdata.com>
Mon, 20 Mar 2006 15:17:30 +0000 (15:17 +0000)
index/extract.c

index 6718670..9d2742c 100644 (file)
@@ -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
 
    Copyright (C) 1995-2005
    Index Data ApS
 
@@ -1374,8 +1374,8 @@ void extract_flushRecordKeys (ZebraHandle zh, SYSNO sysno,
            {
                if (staticrank < 0)
                {
            {
                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;
                    staticrank = 0;
                }
                *keyp++ = staticrank;