aboutsummaryrefslogtreecommitdiffstats
path: root/uri.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2001-06-06 10:46:28 +0000
committerDaniel Veillard <veillard@src.gnome.org>2001-06-06 10:46:28 +0000
commite95e2396f34e7e7c5f472ad018d7207974074225 (patch)
tree68c020e805b7ab8b50c33e1ed4a16c5e8013a096 /uri.c
parent6e93c4aa47c11b86642c504301a3ff24ee191172 (diff)
downloadandroid_external_libxml2-e95e2396f34e7e7c5f472ad018d7207974074225.tar.gz
android_external_libxml2-e95e2396f34e7e7c5f472ad018d7207974074225.tar.bz2
android_external_libxml2-e95e2396f34e7e7c5f472ad018d7207974074225.zip
- DOCBparser.c: implemented the <?sgml-declaration encoding="xxx"?>
hack - tree.[ch]: added xmlHasNsProp as suggested in bug report #55653 - uri.c: fixed a warning Daniel
Diffstat (limited to 'uri.c')
-rw-r--r--uri.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/uri.c b/uri.c
index b4554606..b59ef035 100644
--- a/uri.c
+++ b/uri.c
@@ -1109,7 +1109,7 @@ xmlURIEscape(const xmlChar *str) {
if(uri->port) {
xmlChar port[10];
- snprintf(segment, 10, "%d", uri->port);
+ snprintf((char *) segment, 10, "%d", uri->port);
xmlStrcat(ret, BAD_CAST ":");
xmlStrcat(ret, port);
xmlFree(segment);