rebase() would round up and so it was possible for ticks to go out of range.
authorCarl Hetherington <cth@carlh.net>
Wed, 2 May 2018 21:16:03 +0000 (22:16 +0100)
committerCarl Hetherington <cth@carlh.net>
Wed, 2 May 2018 21:16:03 +0000 (22:16 +0100)
commit7b03aba8bc4e9df269430d79ce4ee2c6bd5f344c
tree38f0a72117bbf1a3cade0f418355fa2715377091
parent0bfa05b5c0c23cb4df482ee64222ca176c0e1b90
rebase() would round up and so it was possible for ticks to go out of range.
Now it still rounds up but then copes with overflow.
src/dcp_time.cc
test/dcp_time_test.cc