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
44bc06ba
Commit
44bc06ba
authored
Jan 08, 2020
by
Jacek Caban
Committed by
Alexandre Julliard
Jan 09, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wmp/tests: Don't use round to avoid dependency on mingwex.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
21003538
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
media.c
dlls/wmp/tests/media.c
+1
-1
No files found.
dlls/wmp/tests/media.c
View file @
44bc06ba
...
...
@@ -419,7 +419,7 @@ static BOOL test_wmp(void)
ok
(
hres
==
S_OK
,
"IWMPPlayer4_get_currentMedia failed: %08x
\n
"
,
hres
);
hres
=
IWMPMedia_get_duration
(
media
,
&
duration
);
ok
(
hres
==
S_OK
,
"IWMPMedia_get_duration failed: %08x
\n
"
,
hres
);
ok
(
round
(
duration
)
==
3
,
"unexpected value: %f
\n
"
,
duration
);
ok
(
floor
(
duration
+
0
.
5
)
==
3
,
"unexpected value: %f
\n
"
,
duration
);
IWMPMedia_Release
(
media
);
network
=
NULL
;
...
...
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