Merge branch 'master' into sru_2_0
[yaz-moved-to-github.git] / src / odr_cons.c
index 2f88087..4a18372 100644 (file)
@@ -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