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:
parent
533ec0e073
commit
fcf2457d20
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user