X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Finitopt.c;h=e4a2292458694e4638beb381a65ec4300169b3a0;hb=b56b6242e4e9c0011b9a2dae6d67c3ef0789251f;hp=d1cd75e804acc14c8ca9a975bc405bfe99aa0215;hpb=8d691989077a0addcbd840d769dce6700f3d9622;p=yaz-moved-to-github.git diff --git a/src/initopt.c b/src/initopt.c index d1cd75e..e4a2292 100644 --- a/src/initopt.c +++ b/src/initopt.c @@ -1,8 +1,6 @@ -/* - * Copyright (C) 1995-2007, Index Data ApS +/* This file is part of the YAZ toolkit. + * Copyright (C) 1995-2010 Index Data * See the file LICENSE for details. - * - * $Id: initopt.c,v 1.7 2007-01-03 08:42:15 adam Exp $ */ /** @@ -52,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++; @@ -95,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