Skip to content

Commit

Permalink
Both args of xmlStrcasestr are const
Browse files Browse the repository at this point in the history
* include/libxml/xmlstring.h xmlstring.c: fix the constness of the
  second arg of xmlStrcasestr()
  • Loading branch information
veillard committed Aug 12, 2009
1 parent 533ec0e commit fcf2457
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/libxml/xmlstring.h
Expand Up @@ -59,7 +59,7 @@ XMLPUBFUN const xmlChar * XMLCALL
const xmlChar *val); const xmlChar *val);
XMLPUBFUN const xmlChar * XMLCALL XMLPUBFUN const xmlChar * XMLCALL
xmlStrcasestr (const xmlChar *str, xmlStrcasestr (const xmlChar *str,
xmlChar *val); const xmlChar *val);
XMLPUBFUN int XMLCALL XMLPUBFUN int XMLCALL
xmlStrcmp (const xmlChar *str1, xmlStrcmp (const xmlChar *str1,
const xmlChar *str2); const xmlChar *str2);
Expand Down
2 changes: 1 addition & 1 deletion xmlstring.c
Expand Up @@ -366,7 +366,7 @@ xmlStrstr(const xmlChar *str, const xmlChar *val) {
*/ */


const xmlChar * const xmlChar *
xmlStrcasestr(const xmlChar *str, xmlChar *val) { xmlStrcasestr(const xmlChar *str, const xmlChar *val) {
int n; int n;


if (str == NULL) return(NULL); if (str == NULL) return(NULL);
Expand Down

0 comments on commit fcf2457

Please sign in to comment.