From: Adam Dickmeiss Date: Mon, 26 May 2003 11:35:46 +0000 (+0000) Subject: Fix type of len var X-Git-Tag: YAZ.2.0.3~39 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=72a7de6dfe07d7079de3c287aecdeb0f164c78b8;p=yaz-moved-to-github.git Fix type of len var --- diff --git a/zoom/zoomsh.c b/zoom/zoomsh.c index 54ebda2..2983b43 100644 --- a/zoom/zoomsh.c +++ b/zoom/zoomsh.c @@ -1,5 +1,5 @@ /* - * $Id: zoomsh.c,v 1.19 2003-04-23 20:39:25 adam Exp $ + * $Id: zoomsh.c,v 1.20 2003-05-26 11:35:46 adam Exp $ * * ZOOM-C Shell */ @@ -341,8 +341,8 @@ static void cmd_scan (ZOOM_connection *c, ZOOM_resultset *r, size_t p, sz = ZOOM_scanset_size(s[i]); for (p = 0; p < sz; p++) { - int occ = 0; - size_t len = 0; + int occ = 0; + int len = 0; const char *term = ZOOM_scanset_term(s[i], p, &occ, &len); fwrite(term, 1, len, stdout); printf (" %d\n", occ);