From 4fe9e56a02037253be2b9f18f9c1ef93c569008c Mon Sep 17 00:00:00 2001 From: Karl Waclawek Date: Fri, 26 Nov 2004 15:00:38 +0000 Subject: [PATCH] Fix for bug #1065042. Improved const correctness. --- expat/lib/xmlrole.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/expat/lib/xmlrole.c b/expat/lib/xmlrole.c index 1924fcb4..b32d8e73 100644 --- a/expat/lib/xmlrole.c +++ b/expat/lib/xmlrole.c @@ -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, -- 2.40.0