X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fodr_cons.c;h=4a183726184f286e9a70201bf9def64a53a7e20c;hp=d5dcc1007090f847738538cca51aefbfb2f0b517;hb=c82db01c9fc0b51254ec6ead5fe3b503ca098ca0;hpb=2788a4851b551e1a3efb320a2878b809f2d8a9d7 diff --git a/src/odr_cons.c b/src/odr_cons.c index d5dcc10..4a18372 100644 --- a/src/odr_cons.c +++ b/src/odr_cons.c @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2009 Index Data + * Copyright (C) 1995-2013 Index Data * See the file LICENSE for details. */ @@ -88,7 +88,7 @@ int odr_constructed_begin(ODR o, void *xxp, int zclass, int tag, o->op->stack_top->name = name ? name : "?"; if (o->direction == ODR_ENCODE) { - static unsigned char dummy[sizeof(int)+1]; + static char dummy[sizeof(int)+1]; o->op->stack_top->lenlen = lenlen; @@ -212,6 +212,7 @@ int odr_constructed_end(ODR o) /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab