Commit 2abbb909 authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

gcc 4.0 warning fix.

parent 56155138
...@@ -249,9 +249,11 @@ static int mbstowcs_dbcs_decompose( const struct dbcs_table *table, ...@@ -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 */ /* return -1 on dst buffer overflow, -2 on invalid input char */
int wine_cp_mbstowcs( const union cptable *table, int flags, int wine_cp_mbstowcs( const union cptable *table, int flags,
const char *src, int srclen, const char *s, int srclen,
WCHAR *dst, int dstlen ) WCHAR *dst, int dstlen )
{ {
const unsigned char *src = (const unsigned char*) s;
if (table->info.char_size == 1) if (table->info.char_size == 1)
{ {
if (flags & MB_ERR_INVALID_CHARS) if (flags & MB_ERR_INVALID_CHARS)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment