- 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
diff --git a/uri.c b/uri.c
index b455460..b59ef03 100644
--- a/uri.c
+++ b/uri.c
@@ -1109,7 +1109,7 @@
 
     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);