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
cec5fea6
Commit
cec5fea6
authored
Apr 11, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Apr 11, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll/tests: Simplify printf for 64 bit integers.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
ed5ade57
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
large_int.c
dlls/ntdll/tests/large_int.c
+2
-3
No files found.
dlls/ntdll/tests/large_int.c
View file @
cec5fea6
...
...
@@ -349,9 +349,8 @@ static void one_RtlInt64ToUnicodeString_test(int test_num, const largeint2str_t
}
/* if */
}
/* if */
ok
(
memcmp
(
unicode_string
.
Buffer
,
expected_unicode_string
.
Buffer
,
LARGE_STRI_BUFFER_LENGTH
*
sizeof
(
WCHAR
))
==
0
,
"(test %d): RtlInt64ToUnicodeString(0x%lx%08lx, %d, [out]) assigns string
\"
%s
\"
, expected:
\"
%s
\"\n
"
,
test_num
,
(
DWORD
)(
largeint2str
->
value
>>
32
),
(
DWORD
)
largeint2str
->
value
,
largeint2str
->
base
,
ansi_str
.
Buffer
,
expected_ansi_str
.
Buffer
);
"(test %d): RtlInt64ToUnicodeString(0x%I64x, %d, [out]) assigns string
\"
%s
\"
, expected:
\"
%s
\"\n
"
,
test_num
,
largeint2str
->
value
,
largeint2str
->
base
,
ansi_str
.
Buffer
,
expected_ansi_str
.
Buffer
);
ok
(
unicode_string
.
Length
==
expected_unicode_string
.
Length
,
"(test %d): RtlInt64ToUnicodeString(0x%s, %d, [out]) string has Length %d, expected: %d
\n
"
,
test_num
,
wine_dbgstr_longlong
(
largeint2str
->
value
),
largeint2str
->
base
,
...
...
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