aboutsummaryrefslogtreecommitdiff
path: root/src/midi_sequencer.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/midi_sequencer.hpp')
-rw-r--r--src/midi_sequencer.hpp10
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 */