From b860b61a408af125d8f57f5a3a6d12844dff87ea Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Fri, 11 Oct 2013 11:04:16 +0200 Subject: [PATCH] Add simple type cast (xmlChar *) to (char *) --- src/xml_match.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xml_match.c b/src/xml_match.c index b36e2f7..9e14c49 100644 --- 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 *) "", -1); xmlBufferAdd(buf, (const xmlChar *) "", -1); } - *val = odr_strdupn(o, buf->content, buf->use); + *val = odr_strdupn(o, (const char *) buf->content, buf->use); if (len) *len = buf->use; -- 1.7.10.4