From: Adam Dickmeiss Date: Tue, 21 May 2002 08:36:03 +0000 (+0000) Subject: Minor changes to avoid warnings X-Git-Tag: YAZ.1.8.7~5 X-Git-Url: http://sru.miketaylor.org.uk/?a=commitdiff_plain;h=e8d17b7385e448e2b3f4ba3ff6426ecd543ed97e;p=yaz-moved-to-github.git Minor changes to avoid warnings --- diff --git a/zoom/zoomtst7.c b/zoom/zoomtst7.c index 027b72e..3dfe4b4 100644 --- a/zoom/zoomtst7.c +++ b/zoom/zoomtst7.c @@ -1,5 +1,5 @@ /* - * $Id: zoomtst7.c,v 1.9 2002-02-20 14:40:42 adam Exp $ + * $Id: zoomtst7.c,v 1.10 2002-05-21 08:36:03 adam Exp $ * * API test.. */ @@ -15,7 +15,8 @@ int main(int argc, char **argv) { - int i, j, block; + int block; + size_t j, i; ZOOM_connection z; ZOOM_resultset r[10]; /* and result sets .. */ ZOOM_options o; diff --git a/zoom/zoomtst8.c b/zoom/zoomtst8.c index 71fdbf5..2f500b7 100644 --- a/zoom/zoomtst8.c +++ b/zoom/zoomtst8.c @@ -1,5 +1,5 @@ /* - * $Id: zoomtst8.c,v 1.2 2002-01-03 12:18:38 adam Exp $ + * $Id: zoomtst8.c,v 1.3 2002-05-21 08:36:04 adam Exp $ * * Asynchronous multi-target client doing scan */ @@ -64,7 +64,7 @@ int main(int argc, char **argv) errmsg, error, addinfo); else { - int j; + size_t j; printf ("%s\n", ZOOM_connection_option_get(z[i], "host")); for (j = 0; j