Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
847367df
Commit
847367df
authored
Nov 30, 2020
by
Piotr Caban
Committed by
Alexandre Julliard
Nov 30, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcr100/tests: Use wide-char string literals.
Signed-off-by:
Piotr Caban
<
piotr@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
0ce524f0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
msvcr100.c
dlls/msvcr100/tests/msvcr100.c
+4
-4
No files found.
dlls/msvcr100/tests/msvcr100.c
View file @
847367df
...
...
@@ -374,8 +374,8 @@ static BOOL init(void)
static
void
test_wmemcpy_s
(
void
)
{
static
wchar_t
dest
[
8
],
buf
[
32
];
static
const
wchar_t
tiny
[]
=
{
'T'
,
0
,
'I'
,
'N'
,
'Y'
,
0
}
;
static
const
wchar_t
big
[]
=
{
'a'
,
't'
,
'o'
,
'o'
,
'l'
,
'o'
,
'n'
,
'g'
,
's'
,
't'
,
'r'
,
'i'
,
'n'
,
'g'
,
0
}
;
static
const
wchar_t
tiny
[]
=
L"T
\0
INY"
;
static
const
wchar_t
big
[]
=
L"atoolongstring"
;
const
wchar_t
XX
=
0x5858
;
/* two 'X' bytes */
int
ret
;
...
...
@@ -455,8 +455,8 @@ static void test_wmemcpy_s(void)
static
void
test_wmemmove_s
(
void
)
{
static
wchar_t
dest
[
8
];
static
const
wchar_t
tiny
[]
=
{
'T'
,
0
,
'I'
,
'N'
,
'Y'
,
0
}
;
static
const
wchar_t
big
[]
=
{
'a'
,
't'
,
'o'
,
'o'
,
'l'
,
'o'
,
'n'
,
'g'
,
's'
,
't'
,
'r'
,
'i'
,
'n'
,
'g'
,
0
}
;
static
const
wchar_t
tiny
[]
=
L"T
\0
INY"
;
static
const
wchar_t
big
[]
=
L"atoolongstring"
;
const
wchar_t
XX
=
0x5858
;
/* two 'X' bytes */
int
ret
;
...
...
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