Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
2abbb909
Commit
2abbb909
authored
Aug 01, 2005
by
Mike McCormack
Committed by
Alexandre Julliard
Aug 01, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gcc 4.0 warning fix.
parent
56155138
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
mbtowc.c
libs/unicode/mbtowc.c
+3
-1
No files found.
libs/unicode/mbtowc.c
View file @
2abbb909
...
@@ -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
*
s
rc
,
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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment