/*
- * Copyright (C) 1995-2005, Index Data ApS
+ * Copyright (C) 1995-2007, 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.9 2007-01-03 08:42:15 adam Exp $
*/
/**
* \file opacdisp.c
wrbuf_puts (wrbuf, " <bibliographicRecord>\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, " </bibliographicRecord>\n");
}
wrbuf_puts (wrbuf, " <marcHoldingsRecord>\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, " </marcHoldingsRecord>\n");
}