X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Finitopt.c;h=85922de5c231d3f732c96887cf0afbbd1ca4776c;hb=a3e65bcd3250b107397675bc65b35b5939355025;hp=d3228b2a38e6d2644e04aa8515961844b7bc1735;hpb=ee6ab2ee3a9ee1a8c65d7272ec7fba1d886f5af0;p=yaz-moved-to-github.git diff --git a/src/initopt.c b/src/initopt.c index d3228b2..85922de 100644 --- a/src/initopt.c +++ b/src/initopt.c @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2008 Index Data + * Copyright (C) 1995-2012 Index Data * See the file LICENSE for details. */ @@ -50,7 +50,7 @@ int yaz_init_opt_encode(Z_Options *opt, const char *opt_str, int *error_pos) while (*cp) { char this_opt[42]; - int i, j; + size_t i, j; if (*cp == ' ' || *cp == ',') { cp++; @@ -93,6 +93,7 @@ void yaz_init_opt_decode(Z_Options *opt, void (*pr)(const char *name, /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab