projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert "Build without redis on Debian squeeze, Ubuntu Lucid"
[yaz-moved-to-github.git]
/
zoom
/
zoomtst8.c
diff --git
a/zoom/zoomtst8.c
b/zoom/zoomtst8.c
index
681cd59
..
e871813
100644
(file)
--- a/
zoom/zoomtst8.c
+++ b/
zoom/zoomtst8.c
@@
-1,5
+1,5
@@
/* This file is part of the YAZ toolkit.
/* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2009 Index Data
+ * Copyright (C) Index Data
* See the file LICENSE for details.
*/
* See the file LICENSE for details.
*/
@@
-38,7
+38,7
@@
int main(int argc, char **argv)
/* connect and init */
ZOOM_connection_connect (z[i], argv[1+i], 0);
/* connect and init */
ZOOM_connection_connect (z[i], argv[1+i], 0);
-
+
}
/* scan all */
for (i = 0; i<no; i++)
}
/* scan all */
for (i = 0; i<no; i++)
@@
-67,11
+67,11
@@
int main(int argc, char **argv)
printf ("%s\n", ZOOM_connection_option_get(z[i], "host"));
for (j = 0; j < (int) ZOOM_scanset_size (s[i]); j++)
{
printf ("%s\n", ZOOM_connection_option_get(z[i], "host"));
for (j = 0; j < (int) ZOOM_scanset_size (s[i]); j++)
{
- int occur, len;
+ size_t occur, len;
const char *term;
term = ZOOM_scanset_term (s[i], j, &occur, &len);
if (term)
const char *term;
term = ZOOM_scanset_term (s[i], j, &occur, &len);
if (term)
- printf ("%d %.*s %d\n", j, len, term, occur);
+ printf ("%d %.*s %d\n", j, (int) len, term, (int) occur);
}
}
}
}
}
}