X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=test%2Fapi%2Ftestlib.c;h=d54c7c140def24cf40e9f6b14cbd3e428d3ca602;hb=a9e90f22d2cefbafc9d490a03a3bc7d1b75d57ee;hp=c32fb1643ce46836cddef5df01df8502d5931591;hpb=71ef94163cc848e4ed12965238087d2505c42c05;p=idzebra-moved-to-github.git diff --git a/test/api/testlib.c b/test/api/testlib.c index c32fb16..d54c7c1 100644 --- a/test/api/testlib.c +++ b/test/api/testlib.c @@ -1,4 +1,4 @@ -/* $Id: testlib.c,v 1.11 2005-01-15 19:38:35 adam Exp $ +/* $Id: testlib.c,v 1.12 2005-03-09 12:14:42 adam Exp $ Copyright (C) 1995-2005 Index Data ApS @@ -145,7 +145,7 @@ int do_query(int lineno, ZebraHandle zh, char *query, int exphits) YAZ_PQF_Parser parser; Z_RPNQuery *rpn; const char *setname="rsetname"; - int hits; + zint hits; int rc; @@ -166,7 +166,7 @@ int do_query(int lineno, ZebraHandle zh, char *query, int exphits) } if (hits != exphits) { - printf("Error: search returned %d hits instead of %d\n", + printf("Error: search returned " ZINT_FORMAT " hits instead of %d\n", hits, exphits); exit (1); }