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
88ba91de
Commit
88ba91de
authored
Jan 27, 2022
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcp60/tests: Fix printf format warnings on 64-bit.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
49482c95
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
ios.c
dlls/msvcp60/tests/ios.c
+4
-4
No files found.
dlls/msvcp60/tests/ios.c
View file @
88ba91de
...
...
@@ -1424,7 +1424,7 @@ static void test_istream_tellg(void)
call_func2_ptr_fpos
(
p_basic_istream_char_seekg_fpos
,
&
ss
.
base
.
base1
,
spos
);
rpos
=
call_func2
(
p_basic_istream_char_tellg
,
&
ss
.
base
.
base1
,
&
tpos
);
ok
(
tests
[
i
].
telloff_ss
==
tpos
.
off
,
"wrong offset, expected = %
ld found = %l
d
\n
"
,
tests
[
i
].
telloff_ss
,
tpos
.
off
);
ok
(
tests
[
i
].
telloff_ss
==
tpos
.
off
,
"wrong offset, expected = %
Id found = %I
d
\n
"
,
tests
[
i
].
telloff_ss
,
tpos
.
off
);
ok
(
rpos
==
&
tpos
,
"wrong return fpos, expected = %p found = %p
\n
"
,
rpos
,
&
tpos
);
ok
(
tpos
.
pos
==
0
,
"wrong position, expected = 0 found = %s
\n
"
,
wine_dbgstr_longlong
(
tpos
.
pos
));
ok
(
tpos
.
state
==
0
,
"wrong state, expected = 0 found = %d
\n
"
,
tpos
.
state
);
...
...
@@ -1453,7 +1453,7 @@ static void test_istream_tellg(void)
call_func2_ptr_fpos
(
p_basic_istream_wchar_seekg_fpos
,
&
wss
.
base
.
base1
,
spos
);
rpos
=
call_func2
(
p_basic_istream_wchar_tellg
,
&
wss
.
base
.
base1
,
&
tpos
);
ok
(
tests
[
i
].
telloff_ss
==
tpos
.
off
,
"wrong offset, expected = %
ld found = %l
d
\n
"
,
tests
[
i
].
telloff_ss
,
tpos
.
off
);
ok
(
tests
[
i
].
telloff_ss
==
tpos
.
off
,
"wrong offset, expected = %
Id found = %I
d
\n
"
,
tests
[
i
].
telloff_ss
,
tpos
.
off
);
ok
(
rpos
==
&
tpos
,
"wrong return fpos, expected = %p found = %p
\n
"
,
rpos
,
&
tpos
);
ok
(
tpos
.
pos
==
0
,
"wrong position, expected = 0 found = %s
\n
"
,
wine_dbgstr_longlong
(
tpos
.
pos
));
ok
(
tpos
.
state
==
0
,
"wrong state, expected = 0 found = %d
\n
"
,
tpos
.
state
);
...
...
@@ -1488,7 +1488,7 @@ static void test_istream_tellg(void)
ok
(
tests
[
i
].
tellpos
==
tpos
.
pos
,
"wrong filepos, expected = %s found = %s
\n
"
,
wine_dbgstr_longlong
(
tests
[
i
].
tellpos
),
wine_dbgstr_longlong
(
tpos
.
pos
));
ok
(
rpos
==
&
tpos
,
"wrong return fpos, expected = %p found = %p
\n
"
,
rpos
,
&
tpos
);
ok
(
tpos
.
off
==
tests
[
i
].
telloff_fs
,
"wrong offset, expected %
ld found %l
d
\n
"
,
tests
[
i
].
telloff_fs
,
tpos
.
off
);
ok
(
tpos
.
off
==
tests
[
i
].
telloff_fs
,
"wrong offset, expected %
Id found %I
d
\n
"
,
tests
[
i
].
telloff_fs
,
tpos
.
off
);
ok
(
tpos
.
state
==
0
,
"wrong state, expected = 0 found = %d
\n
"
,
tpos
.
state
);
call_func1
(
p_basic_fstream_char_vbase_dtor
,
&
fs
);
...
...
@@ -1511,7 +1511,7 @@ static void test_istream_tellg(void)
ok
(
tests
[
i
].
tellpos
==
tpos
.
pos
,
"wrong filepos, expected = %s found = %s
\n
"
,
wine_dbgstr_longlong
(
tests
[
i
].
tellpos
),
wine_dbgstr_longlong
(
tpos
.
pos
));
ok
(
rpos
==
&
tpos
,
"wrong return fpos, expected = %p found = %p
\n
"
,
rpos
,
&
tpos
);
ok
(
tpos
.
off
==
tests
[
i
].
telloff_fs
,
"wrong offset, expected %
ld found %l
d
\n
"
,
tests
[
i
].
telloff_fs
,
tpos
.
off
);
ok
(
tpos
.
off
==
tests
[
i
].
telloff_fs
,
"wrong offset, expected %
Id found %I
d
\n
"
,
tests
[
i
].
telloff_fs
,
tpos
.
off
);
ok
(
tpos
.
state
==
0
,
"wrong state, expected = 0 found = %d
\n
"
,
tpos
.
state
);
call_func1
(
p_basic_fstream_wchar_vbase_dtor
,
&
wfs
);
...
...
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