projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19c4d36
)
Fix integer overflow in test.
author
Carl Hetherington
<cth@carlh.net>
Thu, 1 Oct 2020 16:55:40 +0000
(18:55 +0200)
committer
Carl Hetherington
<cth@carlh.net>
Mon, 12 Oct 2020 15:34:01 +0000
(17:34 +0200)
test/time_calculation_test.cc
patch
|
blob
|
history
diff --git
a/test/time_calculation_test.cc
b/test/time_calculation_test.cc
index 636f452d90fc45abfe05db0775b7fbf0b8b08df3..ed4440b33c6f244979cdfc4ffedbdc97a0ae3a80 100644
(file)
--- 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 ()), 54143L
L
* 48000);
}