Sync to Wine-20050111: Eric Pouech pouech-eric@wanadoo.fr - Another round of const correctness fixes. Modified: trunk/reactos/lib/unicode/utf8.c _____
Modified: trunk/reactos/lib/unicode/utf8.c --- trunk/reactos/lib/unicode/utf8.c 2005-01-12 23:04:52 UTC (rev 13001) +++ trunk/reactos/lib/unicode/utf8.c 2005-01-12 23:07:36 UTC (rev 13002) @@ -145,7 +145,7 @@
unsigned int res; const char *srcend = src + srclen;
- if (!dstlen) return get_length_mbs_utf8( src, srclen ); + if (!dstlen) return get_length_mbs_utf8( (const unsigned char*)src, srclen );
for (count = dstlen; count && (src < srcend); count--, dst++) {