diff options
Diffstat (limited to 'visualization')
-rw-r--r-- | visualization/qmpvisualization.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/visualization/qmpvisualization.cpp b/visualization/qmpvisualization.cpp index fd64ea0..8bc0ecb 100644 --- a/visualization/qmpvisualization.cpp +++ b/visualization/qmpvisualization.cpp @@ -69,7 +69,7 @@ void CEventHandlerCallBack::callBack(void*,void*) void CFRFinishedCallBack::callBack(void*,void*) { std::sort(par->tspool.begin(),par->tspool.end()); - for(int tk=0,n=4,s=0;tk<=par->api->getMaxTick();){ + for(uint32_t tk=0,n=4,s=0;tk<=par->api->getMaxTick();){ while(tk<(s>=par->tspool.size()?par->api->getMaxTick():par->tspool[s].first)){ par->pool.push_back(new MidiVisualEvent{tk,tk,0,0,999}); tk+=n*par->api->getDivision(); |