Commit in reactos/lib/unicode on MAIN
cptable.c+1-11.2 -> 1.3
wctomb.c+1-11.2 -> 1.3
+2-2
2 modified files
Sync to Wine-20041201
Eric Pouech <pouech-eric@wanadoo.fr>
- Const correctness fixes.

reactos/lib/unicode
cptable.c 1.2 -> 1.3
diff -u -r1.2 -r1.3
--- cptable.c	12 Mar 2004 21:04:04 -0000	1.2
+++ cptable.c	7 Dec 2004 19:35:19 -0000	1.3
@@ -154,7 +154,7 @@
 
 static int cmp_codepage( const void *codepage, const void *entry )
 {
-    return (unsigned int)codepage - (*(union cptable **)entry)->info.codepage;
+    return (unsigned int)codepage - (*(const union cptable **)entry)->info.codepage;
 }
 
 

reactos/lib/unicode
wctomb.c 1.2 -> 1.3
diff -u -r1.2 -r1.3
--- wctomb.c	12 Mar 2004 21:04:04 -0000	1.2
+++ wctomb.c	7 Dec 2004 19:35:19 -0000	1.3
@@ -142,7 +142,7 @@
         ret = -1;
     }
 
-    if (dst <= (char *)src && dst + 16 > (char *)src)
+    if (dst <= (const char *)src && dst + 16 > (const char *)src)
     {
         /* overlapping buffers, do it char by char */
         while (srclen--)
CVSspam 0.2.8