mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 04:39:45 +00:00
gcc 4.0 warning fix.
This commit is contained in:
parent
5615513877
commit
2abbb9093d
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user