From 0edd21e67fdcedd3764ca19f4645f4414e131235 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9=20van=20Geldorp?= Date: Wed, 12 Jan 2005 23:07:36 +0000 Subject: [PATCH] Sync to Wine-20050111: Eric Pouech - Another round of const correctness fixes. svn path=/trunk/; revision=13002 --- reactos/lib/unicode/utf8.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/lib/unicode/utf8.c b/reactos/lib/unicode/utf8.c index b6f777b70e8..39bd54bf3b2 100644 --- a/reactos/lib/unicode/utf8.c +++ b/reactos/lib/unicode/utf8.c @@ -145,7 +145,7 @@ int wine_utf8_mbstowcs( int flags, const char *src, int srclen, WCHAR *dst, int 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++) {