gcc 4.0 warning fix.

This commit is contained in:
Mike McCormack 2005-08-01 09:21:03 +00:00 committed by Alexandre Julliard
parent 5615513877
commit 2abbb9093d
1 changed files with 3 additions and 1 deletions

View File

@ -249,9 +249,11 @@ static int mbstowcs_dbcs_decompose( const struct dbcs_table *table,
/* return -1 on dst buffer overflow, -2 on invalid input char */
int wine_cp_mbstowcs( const union cptable *table, int flags,
const char *src, int srclen,
const char *s, int srclen,
WCHAR *dst, int dstlen )
{
const unsigned char *src = (const unsigned char*) s;
if (table->info.char_size == 1)
{
if (flags & MB_ERR_INVALID_CHARS)