--- ../../libxml2.pristine/libxml2-2.6.14/chvalid.c	2004-06-27 09:14:07.000000000 -0700
+++ chvalid.c	2004-11-19 15:20:46.000000000 -0800
@@ -46,7 +46,7 @@
     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
     0x00, 0x00, 0x00, 0x00 };
 
-static xmlChSRange xmlIsBaseChar_srng[] = { {0x100, 0x131}, {0x134, 0x13e}, 
+static const xmlChSRange xmlIsBaseChar_srng[] = { {0x100, 0x131}, {0x134, 0x13e}, 
     {0x141, 0x148}, {0x14a, 0x17e}, {0x180, 0x1c3}, {0x1cd, 0x1f0}, 
     {0x1f4, 0x1f5}, {0x1fa, 0x217}, {0x250, 0x2a8}, {0x2bb, 0x2c1}, 
     {0x386, 0x386}, {0x388, 0x38a}, {0x38c, 0x38c}, {0x38e, 0x3a1}, 
@@ -97,14 +97,14 @@
     {0x212a, 0x212b}, {0x212e, 0x212e}, {0x2180, 0x2182}, {0x3041, 0x3094}, 
     {0x30a1, 0x30fa}, {0x3105, 0x312c}, {0xac00, 0xd7a3}};
 xmlChRangeGroup xmlIsBaseCharGroup =
-	{197, 0, xmlIsBaseChar_srng, (xmlChLRangePtr)0};
+	{197, 0, (xmlChSRangePtr)xmlIsBaseChar_srng, (xmlChLRangePtr)0};
 
-static xmlChSRange xmlIsChar_srng[] = { {0x100, 0xd7ff}, {0xe000, 0xfffd}};
-static xmlChLRange xmlIsChar_lrng[] = { {0x10000, 0x10ffff}};
+static const xmlChSRange xmlIsChar_srng[] = { {0x100, 0xd7ff}, {0xe000, 0xfffd}};
+static const xmlChLRange xmlIsChar_lrng[] = { {0x10000, 0x10ffff}};
 xmlChRangeGroup xmlIsCharGroup =
-	{2, 1, xmlIsChar_srng, xmlIsChar_lrng};
+	{2, 1, (xmlChSRangePtr)xmlIsChar_srng, (xmlChLRangePtr)xmlIsChar_lrng};
 
-static xmlChSRange xmlIsCombining_srng[] = { {0x300, 0x345}, 
+static const xmlChSRange xmlIsCombining_srng[] = { {0x300, 0x345}, 
     {0x360, 0x361}, {0x483, 0x486}, {0x591, 0x5a1}, {0x5a3, 0x5b9}, 
     {0x5bb, 0x5bd}, {0x5bf, 0x5bf}, {0x5c1, 0x5c2}, {0x5c4, 0x5c4}, 
     {0x64b, 0x652}, {0x670, 0x670}, {0x6d6, 0x6dc}, {0x6dd, 0x6df}, 
@@ -130,25 +130,25 @@
     {0xfb9, 0xfb9}, {0x20d0, 0x20dc}, {0x20e1, 0x20e1}, {0x302a, 0x302f}, 
     {0x3099, 0x3099}, {0x309a, 0x309a}};
 xmlChRangeGroup xmlIsCombiningGroup =
-	{95, 0, xmlIsCombining_srng, (xmlChLRangePtr)0};
+	{95, 0, (xmlChSRangePtr)xmlIsCombining_srng, (xmlChLRangePtr)0};
 
-static xmlChSRange xmlIsDigit_srng[] = { {0x660, 0x669}, {0x6f0, 0x6f9}, 
+static const xmlChSRange xmlIsDigit_srng[] = { {0x660, 0x669}, {0x6f0, 0x6f9}, 
     {0x966, 0x96f}, {0x9e6, 0x9ef}, {0xa66, 0xa6f}, {0xae6, 0xaef}, 
     {0xb66, 0xb6f}, {0xbe7, 0xbef}, {0xc66, 0xc6f}, {0xce6, 0xcef}, 
     {0xd66, 0xd6f}, {0xe50, 0xe59}, {0xed0, 0xed9}, {0xf20, 0xf29}};
 xmlChRangeGroup xmlIsDigitGroup =
-	{14, 0, xmlIsDigit_srng, (xmlChLRangePtr)0};
+	{14, 0, (xmlChSRangePtr)xmlIsDigit_srng, (xmlChLRangePtr)0};
 
-static xmlChSRange xmlIsExtender_srng[] = { {0x2d0, 0x2d0}, {0x2d1, 0x2d1}, 
+static const xmlChSRange xmlIsExtender_srng[] = { {0x2d0, 0x2d0}, {0x2d1, 0x2d1}, 
     {0x387, 0x387}, {0x640, 0x640}, {0xe46, 0xe46}, {0xec6, 0xec6}, 
     {0x3005, 0x3005}, {0x3031, 0x3035}, {0x309d, 0x309e}, {0x30fc, 0x30fe}};
 xmlChRangeGroup xmlIsExtenderGroup =
-	{10, 0, xmlIsExtender_srng, (xmlChLRangePtr)0};
+	{10, 0, (xmlChSRangePtr)xmlIsExtender_srng, (xmlChLRangePtr)0};
 
-static xmlChSRange xmlIsIdeographic_srng[] = { {0x3007, 0x3007}, 
+static const xmlChSRange xmlIsIdeographic_srng[] = { {0x3007, 0x3007}, 
     {0x3021, 0x3029}, {0x4e00, 0x9fa5}};
 xmlChRangeGroup xmlIsIdeographicGroup =
-	{3, 0, xmlIsIdeographic_srng, (xmlChLRangePtr)0};
+	{3, 0, (xmlChSRangePtr)xmlIsIdeographic_srng, (xmlChLRangePtr)0};
 
 
 /**
