summaryrefslogtreecommitdiff
path: root/xmlstring.c
diff options
context:
space:
mode:
authorWilliam M. Brack <wbrack@src.gnome.org>2004-10-06 16:38:01 +0000
committerWilliam M. Brack <wbrack@src.gnome.org>2004-10-06 16:38:01 +0000
commitb7b54de6c69074c9f5a81ad71cfa12f7005f2505 (patch)
tree16eb15bfdefd1509968bdd838114f0e31630c03a /xmlstring.c
parent22cdb842fdc74bc4b5133f5c03d7c85c9fef7d7f (diff)
downloadlibxml2-b7b54de6c69074c9f5a81ad71cfa12f7005f2505.tar.gz
added code to handle <group>, including dumping to output (bug 151924).
* catalog.c: added code to handle <group>, including dumping to output (bug 151924). * xmlcatalog.c, xmlstring.c, parser.c: minor compiler warning cleanup (no change to logic)
Diffstat (limited to 'xmlstring.c')
-rw-r--r--xmlstring.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmlstring.c b/xmlstring.c
index 65385fbe..af4e5c81 100644
--- a/xmlstring.c
+++ b/xmlstring.c
@@ -209,7 +209,7 @@ xmlStrncmp(const xmlChar *str1, const xmlChar *str2, int len) {
if (str1 == NULL) return(-1);
if (str2 == NULL) return(1);
#ifdef __GNUC__
- tmp = strncmp(str1, str2, len);
+ tmp = strncmp((const char *)str1, (const char *)str2, len);
return tmp;
#else
do {