diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-10-01 18:55:40 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-10-12 17:34:01 +0200 |
| commit | 80e8b09ff3c688261be9f7ceb8e9f42f4c744d03 (patch) | |
| tree | 4f460f8035b2292006edee622121677ad8fad3d7 | |
| parent | 19c4d36de9297b58adf25d019bf298a5026104ee (diff) | |
Fix integer overflow in test.
| -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 636f452d9..ed4440b33 100644 --- a/test/time_calculation_test.cc +++ b/test/time_calculation_test.cc @@ -808,5 +808,5 @@ BOOST_AUTO_TEST_CASE (player_time_calculation_test3) player->setup_pieces (); BOOST_REQUIRE_EQUAL (player->_pieces.size(), 1U); piece = player->_pieces.front (); - BOOST_CHECK_EQUAL (player->dcp_to_resampled_audio (piece, DCPTime ()), 54143L * 48000); + BOOST_CHECK_EQUAL (player->dcp_to_resampled_audio (piece, DCPTime ()), 54143LL * 48000); } |
