projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
66d2b0a
)
Cast to long
YAZ.2.1.18
author
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 24 Apr 2006 10:30:44 +0000
(10:30 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 24 Apr 2006 10:30:44 +0000
(10:30 +0000)
zoom/zoomsh.c
patch
|
blob
|
history
diff --git
a/zoom/zoomsh.c
b/zoom/zoomsh.c
index
cad805f
..
ad82948
100644
(file)
--- a/
zoom/zoomsh.c
+++ b/
zoom/zoomsh.c
@@
-2,7
+2,7
@@
* Copyright (C) 1995-2005, Index Data ApS
* See the file LICENSE for details.
*
* Copyright (C) 1995-2005, Index Data ApS
* See the file LICENSE for details.
*
- * $Id: zoomsh.c,v 1.40 2006-04-21 10:28:07 adam Exp $
+ * $Id: zoomsh.c,v 1.41 2006-04-24 10:30:44 adam Exp $
*/
/** \file zoomsh.c
*/
/** \file zoomsh.c
@@
-357,7
+357,7
@@
static void cmd_search (ZOOM_connection *c, ZOOM_resultset *r,
int count = ZOOM_options_get_int (options, "count", 0);
printf ("%s: %ld hits\n", ZOOM_connection_option_get(c[i], "host"),
int count = ZOOM_options_get_int (options, "count", 0);
printf ("%s: %ld hits\n", ZOOM_connection_option_get(c[i], "host"),
- ZOOM_resultset_size(r[i]));
+ (long) ZOOM_resultset_size(r[i]));
/* and display */
display_records (c[i], r[i], start, count);
}
/* and display */
display_records (c[i], r[i], start, count);
}