X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=zoom%2Fzoomtst5.c;h=02036706c9bd91b3b15f5fa01a9973addf5a793e;hp=b2e466d2a7d77b80f6222ecf0db990fe75facde7;hb=3a494bb11f0a2f449e4848fd17c2ee603bb2367e;hpb=fb6d99a0c7e07d9cc4a315c447deaf6564a85505 diff --git a/zoom/zoomtst5.c b/zoom/zoomtst5.c index b2e466d..0203670 100644 --- a/zoom/zoomtst5.c +++ b/zoom/zoomtst5.c @@ -1,7 +1,6 @@ -/* - * $Id: zoomtst5.c,v 1.10 2005-06-25 15:46:08 adam Exp $ - * - * Asynchronous multi-target client doing search, sort and present +/* This file is part of the YAZ toolkit. + * Copyright (C) 1995-2008 Index Data + * See the file LICENSE for details. */ #include @@ -84,8 +83,8 @@ int main(int argc, char **argv) { /* OK, no major errors. Look at the result count */ int pos; - printf ("%s: %d hits\n", ZOOM_connection_option_get(z[i], "host"), - ZOOM_resultset_size(r[i])); + printf ("%s: %ld hits\n", ZOOM_connection_option_get(z[i], "host"), + (long) ZOOM_resultset_size(r[i])); /* go through first 20 records at target */ for (pos = 0; pos < 20; pos++) {