Commit 44bc06ba authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

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

parent 21003538
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment