Better CMake dependency handling

This commit is contained in:
Jack Andersen
2019-06-11 16:02:52 -10:00
parent 1b10016369
commit 2a3444400e
22 changed files with 141 additions and 147 deletions

View File

@@ -435,7 +435,7 @@ bool SongState::Track::advance(Sequencer& seq, double dt) {
if (m_pitchWheelData) {
int32_t pitchTick = m_curTick;
int32_t remPitchTicks = ticks;
while (pitchTick < endTick) {
while (pitchTick < int32_t(endTick)) {
/* See if there's an upcoming pitch change in this interval */
int32_t nextTick = m_nextPitchTick;
if (pitchTick + remPitchTicks > nextTick) {
@@ -459,7 +459,7 @@ bool SongState::Track::advance(Sequencer& seq, double dt) {
if (m_modWheelData) {
int32_t modTick = m_curTick;
int32_t remModTicks = ticks;
while (modTick < endTick) {
while (modTick < int32_t(endTick)) {
/* See if there's an upcoming modulation change in this interval */
int32_t nextTick = m_nextModTick;
if (modTick + remModTicks > nextTick) {