Skip to content
Snippets Groups Projects
Commit 44bc06ba authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard
Browse files

wmp/tests: Don't use round to avoid dependency on mingwex.

parent 21003538
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment