summaryrefslogtreecommitdiff
path: root/muse2/muse/synth.cpp
diff options
context:
space:
mode:
authorRobert Jonsson <spamatica@gmail.com>2011-02-14 18:38:39 +0000
committerRobert Jonsson <spamatica@gmail.com>2011-02-14 18:38:39 +0000
commit7fa70010daf92f90bf47933e846c0ded239a98f7 (patch)
tree95df0ac411488f83cba05e30963ee130aebff687 /muse2/muse/synth.cpp
parentb704adf0e6f3dc8a73bb87ff92b9dd698ebe52ee (diff)
WillyFoobar patch
Diffstat (limited to 'muse2/muse/synth.cpp')
-rw-r--r--muse2/muse/synth.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/muse2/muse/synth.cpp b/muse2/muse/synth.cpp
index f8d21d41..72785c02 100644
--- a/muse2/muse/synth.cpp
+++ b/muse2/muse/synth.cpp
@@ -941,7 +941,10 @@ iMPEvent MessSynthIF::getData(MidiPort* mp, MPEventList* el, iMPEvent i, unsigne
}
if (frame > curPos) {
- if (frame < pos)
+ //willyfoobar-2011-02-13
+ //!!! comparison of signed with unsigened
+ //old code//if (frame < pos)
+ if (frame < (int) pos)
printf("should not happen: missed event %d\n", pos -frame);
else
{