diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-07-03 20:36:02 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-07-03 20:36:02 +0100 |
| commit | a4c5a9ff48c4cec51e3488f4f8692bf2a2f82dca (patch) | |
| tree | 949aab13668fecbda46028c8a030ae900c0865e8 /test/time_calculation_test.cc | |
| parent | 9f116a9a089ae09826e157a564b02970e823fefc (diff) | |
Try to fix Arch build error reported by Markus.
Diffstat (limited to 'test/time_calculation_test.cc')
| -rw-r--r-- | test/time_calculation_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/time_calculation_test.cc b/test/time_calculation_test.cc index ddd685d0c..6c7d69b25 100644 --- a/test/time_calculation_test.cc +++ b/test/time_calculation_test.cc @@ -158,7 +158,7 @@ BOOST_AUTO_TEST_CASE (ffmpeg_time_calculation_test) BOOST_CHECK_EQUAL (content->full_length(), DCPTime::from_seconds (1)); /* 25fps content, 24fps DCP; length should be increased */ film->set_video_frame_rate (24); - BOOST_CHECK_SMALL (abs (content->full_length().get() - DCPTime::from_seconds(25.0 / 24).get()), 2); + BOOST_CHECK_SMALL (labs (content->full_length().get() - DCPTime::from_seconds(25.0 / 24).get()), 2L); /* 25fps content, 30fps DCP; length should be decreased */ film->set_video_frame_rate (30); BOOST_CHECK_EQUAL (content->full_length(), DCPTime::from_seconds (25.0 / 30)); |
