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
7c461d63
Commit
7c461d63
authored
Mar 02, 2020
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Mar 02, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32/tests: Fix locale.c compilation with Visual Studio 14.0.
Signed-off-by:
Dmitry Timoshkov
<
dmitry@baikal.ru
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
2703827f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
locale.c
dlls/kernel32/tests/locale.c
+3
-1
No files found.
dlls/kernel32/tests/locale.c
View file @
7c461d63
...
...
@@ -25,6 +25,8 @@
* the control panel i8n page), we will still get the expected results.
*/
#define _CRT_NON_CONFORMING_WCSTOK
#include <assert.h>
#include <stdlib.h>
#include <stdarg.h>
...
...
@@ -4197,7 +4199,7 @@ static void test_GetCPInfo(void)
for
(
i
=
0
;
i
<=
sizeof
(
buf
);
i
++
)
{
memset
(
wbuf
,
0xcc
,
sizeof
(
wbuf
)
);
RtlCustomCPToUnicodeN
(
&
table
,
wbuf
,
sizeof
(
wbuf
),
&
reslen
,
(
char
*
)
buf
,
i
);
p
RtlCustomCPToUnicodeN
(
&
table
,
wbuf
,
sizeof
(
wbuf
),
&
reslen
,
(
char
*
)
buf
,
i
);
for
(
j
=
0
;
j
<
4
;
j
++
)
if
(
expect
[
i
][
j
]
==
0xcccc
)
break
;
ok
(
reslen
==
j
*
sizeof
(
WCHAR
),
"%u: wrong len %u
\n
"
,
i
,
reslen
);
for
(
j
=
0
;
j
<
4
;
j
++
)
...
...
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