/* This file is part of the yazpp toolkit.
- * Copyright (C) 1998-2009 Index Data and Mike Taylor
+ * Copyright (C) 1998-2011 Index Data and Mike Taylor
* See the file LICENSE for details.
*/
}
else
r = p->u.defaultFormat;
- printf(" [%d] %s", *r->condition, diagbib1_str(*r->condition));
+ printf(" [" ODR_INT_PRINTF "] %s", *r->condition, diagbib1_str(*r->condition));
switch (r->which)
{
case Z_DefaultDiagFormat_v2Addinfo:
else
{
printf ("Ok\n");
- printf ("Hits: %d\n", *searchResponse->resultCount);
+ printf ("Hits: " ODR_INT_PRINTF "\n", *searchResponse->resultCount);
}
recv_records (searchResponse->records);
}