reactos/lib/unicode
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
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--)