X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fxml_match.c;h=0a9019a144ebd31d9e769182b11eca26a86f91cb;hp=b36e2f7bc760e0daa8cad9218f92cf342d957f08;hb=5c1eb188e9cf6f0dd2e435a1f81938f258515edb;hpb=1932238af8876622f567da122fb52fb3791c9514 diff --git a/src/xml_match.c b/src/xml_match.c index b36e2f7..0a9019a 100644 --- a/src/xml_match.c +++ b/src/xml_match.c @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2013 Index Data + * Copyright (C) Index Data * See the file LICENSE for details. */ /** @@ -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;