- parser.c parser.h parserInternals.h: fixed a couple of
  interfaces for handling memory buffer input to const char *
  upon suggestion of JamesH.
Daniel
diff --git a/parser.c b/parser.c
index 626461a..d93de3b 100644
--- a/parser.c
+++ b/parser.c
@@ -9630,7 +9630,7 @@
  * Returns the new parser context or NULL
  */
 xmlParserCtxtPtr
-xmlCreateMemoryParserCtxt(char *buffer, int size) {
+xmlCreateMemoryParserCtxt(const char *buffer, int size) {
     xmlParserCtxtPtr ctxt;
     xmlParserInputPtr input;
     xmlParserInputBufferPtr buf;
@@ -9745,7 +9745,7 @@
  * Returns 0 in case of success or a error number otherwise
  */
 int xmlSAXUserParseMemory(xmlSAXHandlerPtr sax, void *user_data,
-			  char *buffer, int size) {
+			  const char *buffer, int size) {
     int ret = 0;
     xmlParserCtxtPtr ctxt;
     xmlSAXHandlerPtr oldsax = NULL;