X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fopacdisp.c;h=17902d9e296c4680ddb575cdac28c8aab1e49970;hp=cfa9efe64e46c511dd056c5d47d2a757c9518c0f;hb=95d8bd04e10519a635972a24176270ef4dbe8d2c;hpb=fb6d99a0c7e07d9cc4a315c447deaf6564a85505 diff --git a/src/opacdisp.c b/src/opacdisp.c index cfa9efe..17902d9 100644 --- a/src/opacdisp.c +++ b/src/opacdisp.c @@ -2,7 +2,7 @@ * Copyright (C) 1995-2005, Index Data ApS * See the file LICENSE for details. * - * $Id: opacdisp.c,v 1.7 2005-06-25 15:46:04 adam Exp $ + * $Id: opacdisp.c,v 1.8 2005-08-22 20:34:21 adam Exp $ */ /** * \file opacdisp.c @@ -61,7 +61,7 @@ void yaz_opac_decode_wrbuf(yaz_marc_t mt, Z_OPACRecord *r, WRBUF wrbuf) wrbuf_puts (wrbuf, " \n"); if (ext->which == Z_External_octet) - yaz_marc_decode_wrbuf(mt, ext->u.octet_aligned->buf, + yaz_marc_decode_wrbuf(mt, (const char *) ext->u.octet_aligned->buf, ext->u.octet_aligned->len, wrbuf); wrbuf_puts (wrbuf, " \n"); } @@ -78,7 +78,8 @@ void yaz_opac_decode_wrbuf(yaz_marc_t mt, Z_OPACRecord *r, WRBUF wrbuf) wrbuf_puts (wrbuf, " \n"); if (ext->which == Z_External_octet) - yaz_marc_decode_wrbuf(mt, ext->u.octet_aligned->buf, + yaz_marc_decode_wrbuf(mt, (const char *) + ext->u.octet_aligned->buf, ext->u.octet_aligned->len, wrbuf); wrbuf_puts (wrbuf, " \n"); }