From 80e8b09ff3c688261be9f7ceb8e9f42f4c744d03 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 1 Oct 2020 18:55:40 +0200 Subject: [PATCH] Fix integer overflow in test. --- test/time_calculation_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.30.2