- 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/include/libxml/parser.h b/include/libxml/parser.h
index 61f61ae..0e91245 100644
--- a/include/libxml/parser.h
+++ b/include/libxml/parser.h
@@ -402,7 +402,7 @@
const char *filename);
int xmlSAXUserParseMemory (xmlSAXHandlerPtr sax,
void *user_data,
- char *buffer,
+ const char *buffer,
int size);
xmlDocPtr xmlSAXParseMemory (xmlSAXHandlerPtr sax,
char *buffer,