X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=data1%2Fd1_expout.c;fp=data1%2Fd1_expout.c;h=416465b7227eaba71729ffdd50d2aeb884edc649;hp=3757f284c5cb5e7250db80520a6a823447b3cba8;hb=53f50a1b1dd002ef484a41f50f3598386335cae1;hpb=121e938050358a6d52133deac0316eab29f002dc diff --git a/data1/d1_expout.c b/data1/d1_expout.c index 3757f28..416465b 100644 --- a/data1/d1_expout.c +++ b/data1/d1_expout.c @@ -1,4 +1,4 @@ -/* $Id: d1_expout.c,v 1.10 2007-04-16 08:44:31 adam Exp $ +/* $Id: d1_expout.c,v 1.11 2007-05-08 12:50:03 adam Exp $ Copyright (C) 1995-2007 Index Data ApS @@ -187,7 +187,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);