Index: XML-Parser-2.34/Expat/Expat.xs =================================================================== --- XML-Parser-2.34.orig/Expat/Expat.xs +++ XML-Parser-2.34/Expat/Expat.xs @@ -108,9 +108,9 @@ typedef struct { static HV* EncodingTable = NULL; -static XML_Char nsdelim[] = {NSDELIM, '\0'}; +static const XML_Char nsdelim[] = {NSDELIM, '\0'}; -static char *QuantChar[] = {"", "?", "*", "+"}; +static const char QuantChar[][2] = {"", "?", "*", "+"}; /* Forward declarations */ @@ -191,7 +191,7 @@ myfree(void *p) { Safefree(p); } -static XML_Memory_Handling_Suite ms = {mymalloc, myrealloc, myfree}; +static const XML_Memory_Handling_Suite ms = {mymalloc, myrealloc, myfree}; static void append_error(XML_Parser parser, char * err)