mirror of
				https://gitlab.gnome.org/GNOME/libxml2.git
				synced 2025-11-03 20:33:18 +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:
		@@ -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);
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -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);
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user