X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fopacdisp.c;h=e8b4b04035a042f9e981ea4b54b69faf61c17592;hb=bc1bdc891836da144db8108bc062d30dbb922f8b;hp=cfa9efe64e46c511dd056c5d47d2a757c9518c0f;hpb=fb6d99a0c7e07d9cc4a315c447deaf6564a85505;p=yaz-moved-to-github.git
diff --git a/src/opacdisp.c b/src/opacdisp.c
index cfa9efe..e8b4b04 100644
--- a/src/opacdisp.c
+++ b/src/opacdisp.c
@@ -1,8 +1,8 @@
/*
- * 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
@@ -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");
}