1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-29 11:41:22 +03:00

small changes to syntax to get rid of compiler warnings. No changes to

* error.c HTMLparser.c testC14N.c testHTML.c testURI.c
  xmlcatalog.c xmlmemory.c xmlreader.c xmlschemastypes.c
  python/libxml.c include/libxml/xmlmemory.h: small changes
  to syntax to get rid of compiler warnings.  No changes
  to logic.
This commit is contained in:
William M. Brack
2003-08-05 15:52:22 +00:00
parent c758c229b4
commit c193956ee1
12 changed files with 43 additions and 49 deletions

View File

@ -35,7 +35,7 @@ static void handleURI(const char *str) {
if (escape != 0) {
parsed = xmlSaveUri(uri);
res = xmlURIEscape(parsed);
printf("%s\n", res);
printf("%s\n", (char *) res);
} else {
xmlPrintURI(stdout, uri);
@ -45,7 +45,7 @@ static void handleURI(const char *str) {
} else {
res = xmlBuildURI((xmlChar *)str, (xmlChar *) base);
if (res != NULL) {
printf("%s\n", res);
printf("%s\n", (char *) res);
}
else
printf("::ERROR::\n");