X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fxmlquery.c;h=966dd666b0e0fe9d829ddf8e1e1e87e1766c1c8d;hp=3ca2f3e6f0ca6f9827b5e42bb673c85210e97e8c;hb=503c86c1e635da2561cc4e16449257952f90ac4d;hpb=5242cb5a8634bfa38b9333ff7f903e718ac6e292 diff --git a/src/xmlquery.c b/src/xmlquery.c index 3ca2f3e..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-2012 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")) {