Fix for bug #1065042. Improved const correctness.
diff --git a/expat/lib/xmlrole.c b/expat/lib/xmlrole.c
index 1924fcb..b32d8e7 100644
--- a/expat/lib/xmlrole.c
+++ b/expat/lib/xmlrole.c
@@ -793,7 +793,7 @@
     return XML_ROLE_ATTLIST_NONE;
   case XML_TOK_NAME:
     {
-      static const char *types[] = {
+      static const char * const types[] = {
         KW_CDATA,
         KW_ID,
         KW_IDREF,