1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-01-12 09:17:37 +03:00

Both args of xmlStrcasestr are const

* include/libxml/xmlstring.h xmlstring.c: fix the constness of the
  second arg of xmlStrcasestr()
This commit is contained in:
Daniel Veillard 2009-08-12 23:02:08 +02:00
parent 533ec0e073
commit fcf2457d20
2 changed files with 2 additions and 2 deletions

View File

@ -59,7 +59,7 @@ XMLPUBFUN const xmlChar * XMLCALL
const xmlChar *val);
XMLPUBFUN const xmlChar * XMLCALL
xmlStrcasestr (const xmlChar *str,
xmlChar *val);
const xmlChar *val);
XMLPUBFUN int XMLCALL
xmlStrcmp (const xmlChar *str1,
const xmlChar *str2);

View File

@ -366,7 +366,7 @@ xmlStrstr(const xmlChar *str, const xmlChar *val) {
*/
const xmlChar *
xmlStrcasestr(const xmlChar *str, xmlChar *val) {
xmlStrcasestr(const xmlChar *str, const xmlChar *val) {
int n;
if (str == NULL) return(NULL);