projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Version 5.9.0
[yaz-moved-to-github.git]
/
src
/
xmlquery.c
diff --git
a/src/xmlquery.c
b/src/xmlquery.c
index
3ca2f3e
..
966dd66
100644
(file)
--- a/
src/xmlquery.c
+++ b/
src/xmlquery.c
@@
-1,5
+1,5
@@
/* This file is part of the YAZ toolkit.
/* 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
* 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 =
{
(*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"))
{
}
else if (!xmlStrcmp(type, BAD_CAST "numeric"))
{