X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fcclqfile.c;h=7583610f764c6a23f565785e739f3cdd3e1ca41a;hb=419e0de8e395a9b43263d669eb83dc5bef0734a0;hp=3dd0b400abaca5694ea57694f9099075b2f57c69;hpb=379504a233e3e2cc85bca1e7b6d864f1395aec7c;p=yaz-moved-to-github.git diff --git a/src/cclqfile.c b/src/cclqfile.c index 3dd0b40..7583610 100644 --- a/src/cclqfile.c +++ b/src/cclqfile.c @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2009 Index Data + * Copyright (C) 1995-2010 Index Data * See the file LICENSE for details. */ /** @@ -79,7 +79,7 @@ int ccl_qual_field2(CCL_bibset bibset, const char *cp, const char *qual_name, /* lead is first of a list of qualifier aliaeses */ /* qualifier alias: q1 q2 ... */ char *qlist[10]; - int i = 0; + size_t i = 0; qlist[i++] = lead_str; @@ -239,7 +239,7 @@ void ccl_qual_buf(CCL_bibset bibset, const char *buf) while (1) { const char *cp2 = cp1; - int len; + size_t len; while (*cp2 && !strchr("\r\n", *cp2)) cp2++; len = cp2 - cp1;