X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fxml_match.c;h=9e14c49d07c5484d1ac7bba8bfe6422c494d6e0e;hp=b36e2f7bc760e0daa8cad9218f92cf342d957f08;hb=b860b61a408af125d8f57f5a3a6d12844dff87ea;hpb=11af92513c72d3eb1e618e658b9418a42f4a630f;ds=sidebyside 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;