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
fc69b107
Commit
fc69b107
authored
Dec 18, 2017
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcp90/tests: Use the correct return type for basic_istream::ipfx.
Signed-off-by:
Piotr Caban
<
piotr@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
eb2bf1d6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
ios.c
dlls/msvcp90/tests/ios.c
+5
-4
No files found.
dlls/msvcp90/tests/ios.c
View file @
fc69b107
...
...
@@ -1472,7 +1472,8 @@ static void test_istream_ipfx(void)
basic_string_char
str
;
IOSB_iostate
state
;
wchar_t
wide
[
64
];
int
i
,
ret
,
next
;
int
i
,
next
;
MSVCP_bool
ret
;
/* makes tables narrower */
const
IOSB_iostate
IOSTATE_faileof
=
IOSTATE_failbit
|
IOSTATE_eofbit
;
...
...
@@ -1481,7 +1482,7 @@ static void test_istream_ipfx(void)
const
char
*
str
;
int
unset_skipws
;
int
noskip
;
int
ret
;
MSVCP_bool
ret
;
IOSB_iostate
state
;
int
next
;
}
tests
[]
=
{
...
...
@@ -1507,7 +1508,7 @@ static void test_istream_ipfx(void)
if
(
tests
[
i
].
unset_skipws
)
call_func2
(
p_ios_base_unsetf
,
&
ss
.
basic_ios
.
base
,
TRUE
);
ret
=
(
int
)
call_func2
(
p_basic_istream_char_ipfx
,
&
ss
.
base
.
base1
,
tests
[
i
].
noskip
);
ret
=
(
MSVCP_bool
)(
INT_PTR
)
call_func2
(
p_basic_istream_char_ipfx
,
&
ss
.
base
.
base1
,
tests
[
i
].
noskip
);
state
=
(
IOSB_iostate
)
call_func1
(
p_ios_base_rdstate
,
&
ss
.
basic_ios
.
base
);
next
=
(
int
)
call_func1
(
p_basic_istream_char_get
,
&
ss
.
base
.
base1
);
...
...
@@ -1527,7 +1528,7 @@ static void test_istream_ipfx(void)
if
(
tests
[
i
].
unset_skipws
)
call_func2
(
p_ios_base_unsetf
,
&
wss
.
basic_ios
.
base
,
TRUE
);
ret
=
(
int
)
call_func2
(
p_basic_istream_wchar_ipfx
,
&
wss
.
base
.
base1
,
tests
[
i
].
noskip
);
ret
=
(
MSVCP_bool
)(
INT_PTR
)
call_func2
(
p_basic_istream_wchar_ipfx
,
&
wss
.
base
.
base1
,
tests
[
i
].
noskip
);
state
=
(
IOSB_iostate
)
call_func1
(
p_ios_base_rdstate
,
&
wss
.
basic_ios
.
base
);
nextus
=
(
unsigned
short
)(
int
)
call_func1
(
p_basic_istream_wchar_get
,
&
wss
.
base
.
base1
);
...
...
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