X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Finitopt.c;h=01fbd5771a19f0648ac6e7aa300c381c745b75e2;hp=994dec1f02cf9524035fc8d21e763015c89ccb2c;hb=b696a59e5609651787b64b953b581a3ceb263f14;hpb=88d3bedf772316f87e1996f655ccf8d1e2589755 diff --git a/src/initopt.c b/src/initopt.c index 994dec1..01fbd57 100644 --- a/src/initopt.c +++ b/src/initopt.c @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2010 Index Data + * Copyright (C) Index Data * See the file LICENSE for details. */ @@ -45,12 +45,12 @@ static struct { int yaz_init_opt_encode(Z_Options *opt, const char *opt_str, int *error_pos) { const char *cp = opt_str; - + ODR_MASK_ZERO(opt); while (*cp) { char this_opt[42]; - int i, j; + size_t i, j; if (*cp == ' ' || *cp == ',') { cp++;