[Expat-checkins] expat/lib xmltok.c,1.32,1.33
Karl Waclawek
kwaclaw at users.sourceforge.net
Fri Nov 26 15:56:56 CET 2004
Update of /cvsroot/expat/expat/lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1946
Modified Files:
xmltok.c
Log Message:
Fix for bug #1065044. Improved const correctness.
Index: xmltok.c
===================================================================
RCS file: /cvsroot/expat/expat/lib/xmltok.c,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -d -r1.32 -r1.33
--- xmltok.c 6 May 2004 13:55:49 -0000 1.32
+++ xmltok.c 26 Nov 2004 14:56:52 -0000 1.33
@@ -1451,7 +1451,7 @@
static int FASTCALL
getEncodingIndex(const char *name)
{
- static const char *encodingNames[] = {
+ static const char * const encodingNames[] = {
KW_ISO_8859_1,
KW_US_ASCII,
KW_UTF_8,
@@ -1484,7 +1484,7 @@
static int
-initScan(const ENCODING **encodingTable,
+initScan(const ENCODING * const *encodingTable,
const INIT_ENCODING *enc,
int state,
const char *ptr,
More information about the Expat-checkins
mailing list