[Expat-checkins] expat/lib xmlrole.c,1.19,1.20

Karl Waclawek kwaclaw at users.sourceforge.net
Fri Nov 26 16:00:41 CET 2004


Update of /cvsroot/expat/expat/lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2859

Modified Files:
	xmlrole.c 
Log Message:
Fix for bug #1065042. Improved const correctness.

Index: xmlrole.c
===================================================================
RCS file: /cvsroot/expat/expat/lib/xmlrole.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- xmlrole.c	6 May 2004 13:55:49 -0000	1.19
+++ xmlrole.c	26 Nov 2004 15:00:38 -0000	1.20
@@ -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,



More information about the Expat-checkins mailing list