X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Finitopt.c;h=b40f99fd805bd15f1ce6813b57da6c4794a78a78;hb=00537b483d646bd04a204708ecbde708861f044e;hp=0a98e0b9a32e7f7b6fca06702b3fe88f67f7fceb;hpb=379504a233e3e2cc85bca1e7b6d864f1395aec7c;p=yaz-moved-to-github.git diff --git a/src/initopt.c b/src/initopt.c index 0a98e0b..b40f99f 100644 --- a/src/initopt.c +++ b/src/initopt.c @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2009 Index Data + * Copyright (C) 1995-2012 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++;