X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fxmlquery.c;h=966dd666b0e0fe9d829ddf8e1e1e87e1766c1c8d;hp=e0db8d3c40160e66a13eb55e88eea7f6a6c27a5b;hb=01e36a11adc97a240cc595f89280c8a619770251;hpb=0c46d2e66bdeea1600e700124a81a5d0a65d349e diff --git a/src/xmlquery.c b/src/xmlquery.c index e0db8d3..966dd66 100644 --- a/src/xmlquery.c +++ b/src/xmlquery.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. */ /** \file 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")) {