X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fodr_cons.c;h=4a183726184f286e9a70201bf9def64a53a7e20c;hb=a7585fd1220c684189091e7fba2c5d6cf436031e;hp=2f88087480c25325be3fd55c90e85a267a6497ea;hpb=db93359f0cbf9a1e9dc81ea05f7b8662f843ae3d;p=yaz-moved-to-github.git diff --git a/src/odr_cons.c b/src/odr_cons.c index 2f88087..4a18372 100644 --- a/src/odr_cons.c +++ b/src/odr_cons.c @@ -1,9 +1,6 @@ -/* - * Copyright (C) 1995-2007, Index Data ApS +/* This file is part of the YAZ toolkit. + * Copyright (C) 1995-2013 Index Data * See the file LICENSE for details. - * - * $Id: odr_cons.c,v 1.9 2007-03-19 21:08:13 adam Exp $ - * */ /** @@ -91,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; @@ -215,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