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:
@ -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");
|
||||
|
Reference in New Issue
Block a user