X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=util%2Fmarcdisp.c;h=9156281d8dd8214f7c454f9b0b20561194d6835f;hb=c39a893dfdae5f792139177132e7e7a70e010aa7;hp=3259d6cae73b75ea1a86cfdb96f50ab11f3725ad;hpb=4cc402d744b9fbfee11e31cea25835061cb759f1;p=yaz-moved-to-github.git diff --git a/util/marcdisp.c b/util/marcdisp.c index 3259d6c..9156281 100644 --- a/util/marcdisp.c +++ b/util/marcdisp.c @@ -1,8 +1,8 @@ /* - * Copyright (c) 1995-2002, Index Data + * Copyright (c) 1995-2003, Index Data * See the file LICENSE for details. * - * $Id: marcdisp.c,v 1.27 2002-12-17 13:32:04 adam Exp $ + * $Id: marcdisp.c,v 1.29 2003-02-12 22:02:47 adam Exp $ */ #if HAVE_CONFIG_H @@ -24,7 +24,7 @@ struct yaz_marc_t_ { yaz_marc_t yaz_marc_create(void) { - yaz_marc_t mt = xmalloc(sizeof(*mt)); + yaz_marc_t mt = (yaz_marc_t) xmalloc(sizeof(*mt)); mt->xml = YAZ_MARC_LINE; mt->debug = 0; mt->m_wr = wrbuf_alloc();