projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed wrong token count when tokens disappear with ICU normalization
[yaz-moved-to-github.git]
/
src
/
opacdisp.c
diff --git
a/src/opacdisp.c
b/src/opacdisp.c
index
cfa9efe
..
e8b4b04
100644
(file)
--- 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.
*
* 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
*/
/**
* \file opacdisp.c
@@
-61,7
+61,7
@@
void yaz_opac_decode_wrbuf(yaz_marc_t mt, Z_OPACRecord *r, WRBUF wrbuf)
wrbuf_puts (wrbuf, " <bibliographicRecord>\n");
if (ext->which == Z_External_octet)
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");
}
ext->u.octet_aligned->len, wrbuf);
wrbuf_puts (wrbuf, " </bibliographicRecord>\n");
}
@@
-78,7
+78,8
@@
void yaz_opac_decode_wrbuf(yaz_marc_t mt, Z_OPACRecord *r, WRBUF wrbuf)
wrbuf_puts (wrbuf, " <marcHoldingsRecord>\n");
if (ext->which == Z_External_octet)
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");
}
ext->u.octet_aligned->len, wrbuf);
wrbuf_puts (wrbuf, " </marcHoldingsRecord>\n");
}