the uri arg to xmlNodeSetBase is really a const xmlChar* addin the

* tree.c include/libxml/tree.h: the uri arg to xmlNodeSetBase is
  really a const xmlChar*
* xmlreader.c include/libxml/xmlreader.h: addin the
  xmlTextReaderConstString() to get an interned string from
  the reader
Daniel
diff --git a/tree.c b/tree.c
index a65fda8..8fc7e85 100644
--- a/tree.c
+++ b/tree.c
@@ -4550,7 +4550,7 @@
  * xml:base attribute.
  */
 void
-xmlNodeSetBase(xmlNodePtr cur, xmlChar* uri) {
+xmlNodeSetBase(xmlNodePtr cur, const xmlChar* uri) {
     xmlNsPtr ns;
 
     if (cur == NULL) return;