diff options
author | Wohlstand <admin@wohlnet.ru> | 2020-01-09 11:57:36 +0300 |
---|---|---|
committer | Wohlstand <admin@wohlnet.ru> | 2020-01-09 11:57:36 +0300 |
commit | 85e84137c26c8602b5659a22af8c1a9ea1c00ec1 (patch) | |
tree | 674b1a70dc4124b88bfbe6000527d29862b4485c /src/midi_sequencer.hpp | |
parent | e7847d9ff4a71c0f5266d611b5c20988f0709f4f (diff) | |
parent | 3bd5a50bff5462687377e428933bb1099c30e359 (diff) | |
download | libADLMIDI-85e84137c26c8602b5659a22af8c1a9ea1c00ec1.tar.gz libADLMIDI-85e84137c26c8602b5659a22af8c1a9ea1c00ec1.tar.bz2 libADLMIDI-85e84137c26c8602b5659a22af8c1a9ea1c00ec1.zip |
Merge branch 'master' into wip-new-embedded-banks
Diffstat (limited to 'src/midi_sequencer.hpp')
-rw-r--r-- | src/midi_sequencer.hpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/midi_sequencer.hpp b/src/midi_sequencer.hpp index 6832492..6febecc 100644 --- a/src/midi_sequencer.hpp +++ b/src/midi_sequencer.hpp @@ -23,8 +23,8 @@ */ #pragma once -#ifndef BISQUIT_AND_WOHLSTANDS_MIDI_SEQUENCER_HHHHPPP -#define BISQUIT_AND_WOHLSTANDS_MIDI_SEQUENCER_HHHHPPP +#ifndef BW_MIDI_SEQUENCER_HHHHPPP +#define BW_MIDI_SEQUENCER_HHHHPPP #include <list> #include <vector> @@ -454,7 +454,7 @@ private: { if(caughtStackEnd && (stackLevel >= 0) && (stackLevel < static_cast<int>(stack.size()))) { - const LoopStackEntry &e = stack[stackLevel]; + const LoopStackEntry &e = stack[static_cast<size_t>(stackLevel)]; if(e.infinity || (!e.infinity && e.loops > 0)) return true; } @@ -474,7 +474,7 @@ private: LoopStackEntry &getCurStack() { if((stackLevel >= 0) && (stackLevel < static_cast<int>(stack.size()))) - return stack[stackLevel]; + return stack[static_cast<size_t>(stackLevel)]; if(stack.empty()) { LoopStackEntry d; @@ -792,4 +792,4 @@ private: }; -#endif /* BISQUIT_AND_WOHLSTANDS_MIDI_SEQUENCER_HHHHPPP */ +#endif /* BW_MIDI_SEQUENCER_HHHHPPP */ |