]> granicus.if.org Git - libexpat/commitdiff
Fix for bug #1065042. Improved const correctness.
authorKarl Waclawek <kwaclaw@users.sourceforge.net>
Fri, 26 Nov 2004 15:00:38 +0000 (15:00 +0000)
committerKarl Waclawek <kwaclaw@users.sourceforge.net>
Fri, 26 Nov 2004 15:00:38 +0000 (15:00 +0000)
expat/lib/xmlrole.c

index 1924fcb4dbe243ed7d474cdd450de7ca937dba4b..b32d8e73bc7f5f35f581ca51b9ae75b4cd89e923 100644 (file)
@@ -793,7 +793,7 @@ attlist2(PROLOG_STATE *state,
     return XML_ROLE_ATTLIST_NONE;
   case XML_TOK_NAME:
     {
-      static const char *types[] = {
+      static const char * const types[] = {
         KW_CDATA,
         KW_ID,
         KW_IDREF,