Updated footer comment
[idzebra-moved-to-github.git] / data1 / d1_expout.c
index 3757f28..ff27f58 100644 (file)
@@ -1,8 +1,5 @@
-/* $Id: d1_expout.c,v 1.10 2007-04-16 08:44:31 adam Exp $
-   Copyright (C) 1995-2007
-   Index Data ApS
-
-This file is part of the Zebra server.
+/* This file is part of the Zebra server.
+   Copyright (C) 1994-2009 Index Data
 
 Zebra is free software; you can redistribute it and/or modify it under
 the terms of the GNU General Public License as published by the Free
@@ -187,7 +184,7 @@ Odr_oid **f_oid_seq (ExpHandle *eh, data1_node *n, int *num, oid_class oclass)
            ++(*num);
     if (!*num)
        return NULL;
-    res = (int **)odr_malloc (eh->o, sizeof(*res) * (*num));
+    res = (Odr_oid **)odr_malloc (eh->o, sizeof(*res) * (*num));
     for (c = n->child, i = 0 ; c; c = c->next)
        if (is_numeric_tag (eh, c) == 1000)
            res[i++] = f_oid (eh, c, oclass);
@@ -1407,6 +1404,7 @@ Z_ExplainRecord *data1_nodetoexplain (data1_handle dh, data1_node *n,
 /*
  * Local variables:
  * c-basic-offset: 4
+ * c-file-style: "Stroustrup"
  * indent-tabs-mode: nil
  * End:
  * vim: shiftwidth=4 tabstop=8 expandtab