projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11af925
)
Add simple type cast (xmlChar *) to (char *)
author
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 11 Oct 2013 09:04:16 +0000
(11:04 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 11 Oct 2013 09:04:16 +0000
(11:04 +0200)
src/xml_match.c
patch
|
blob
|
history
diff --git
a/src/xml_match.c
b/src/xml_match.c
index
b36e2f7
..
9e14c49
100644
(file)
--- a/
src/xml_match.c
+++ b/
src/xml_match.c
@@
-107,7
+107,7
@@
int yaz_match_xsd_XML_n2(xmlNodePtr ptr, const char *elem, ODR o,
xmlBufferAddHead(buf, (const xmlChar *) "<yaz_record>", -1);
xmlBufferAdd(buf, (const xmlChar *) "</yaz_record>", -1);
}
- *val = odr_strdupn(o, buf->content, buf->use);
+ *val = odr_strdupn(o, (const char *) buf->content, buf->use);
if (len)
*len = buf->use;