X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fxmlquery.c;h=5aff1aee605c46cd97e943c1cae87f3c72285c47;hp=e0db8d3c40160e66a13eb55e88eea7f6a6c27a5b;hb=c57f145946e02d33035cf27878a3ff618e77d6a2;hpb=0c46d2e66bdeea1600e700124a81a5d0a65d349e diff --git a/src/xmlquery.c b/src/xmlquery.c index e0db8d3..5aff1ae 100644 --- a/src/xmlquery.c +++ b/src/xmlquery.c @@ -565,7 +565,7 @@ static void yaz_xml2query_term(const xmlNode *ptr, Z_Term **term, ODR odr, { (*term)->which = Z_Term_general; (*term)->u.general = - odr_create_Odr_oct(odr, (unsigned char *)cdata, strlen(cdata)); + odr_create_Odr_oct(odr, cdata, strlen(cdata)); } else if (!xmlStrcmp(type, BAD_CAST "numeric")) {