X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=retrieval%2Fd1_grs.c;fp=retrieval%2Fd1_grs.c;h=1a9d3133be776a7641913b24c72053a6923f010a;hp=8f0b66e5dbb8899c8ddfa70b7d794ea8ffaa293e;hb=bf4149c63ad2e11429e302a89f472de52b4d7ce8;hpb=73664b466cb0c5e9478b4af7c5d4ebed1f2db49e diff --git a/retrieval/d1_grs.c b/retrieval/d1_grs.c index 8f0b66e..1a9d313 100644 --- a/retrieval/d1_grs.c +++ b/retrieval/d1_grs.c @@ -4,7 +4,10 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: d1_grs.c,v $ - * Revision 1.8 1996-12-05 13:17:49 quinn + * Revision 1.9 1997-05-14 06:54:03 adam + * C++ support. + * + * Revision 1.8 1996/12/05 13:17:49 quinn * Fixed GRS-1 null-ref * * Revision 1.7 1996/10/11 11:57:23 quinn @@ -89,8 +92,8 @@ static Z_Variant *make_variant(data1_node *n, int num, ODR o) assert(p->which == DATA1N_variant); t = v->triples[num] = odr_malloc(o, sizeof(*t)); t->variantSetId = 0; - t->class = odr_malloc(o, sizeof(int)); - *t->class = p->u.variant.type->class->class; + t->zclass = odr_malloc(o, sizeof(int)); + *t->zclass = p->u.variant.type->zclass->zclass; t->type = odr_malloc(o, sizeof(int)); *t->type = p->u.variant.type->type;