diff --git a/libs/midi++2/fd_midiport.cc b/libs/midi++2/fd_midiport.cc index 6e4a8e9b7c..640f08686a 100644 --- a/libs/midi++2/fd_midiport.cc +++ b/libs/midi++2/fd_midiport.cc @@ -135,7 +135,7 @@ FD_MidiPort::do_slow_write (byte *msg, unsigned int msglen) } bytes_written++; - for (i = 0; i < slowdown * 10000; i++); + for (i = 0; i < slowdown * 10000; i++) {} } diff --git a/libs/midi++2/midi++/parser.h b/libs/midi++2/midi++/parser.h index 6733740ff7..2b3412cc00 100644 --- a/libs/midi++2/midi++/parser.h +++ b/libs/midi++2/midi++/parser.h @@ -122,7 +122,7 @@ class Parser : public sigc::trackable { const byte *mtc_current() const { return _mtc_time; } bool mtc_locked() const { return _mtc_locked; } - const nframes_t get_midi_clock_timestamp() const { return _midi_clock_timestamp; } + nframes_t get_midi_clock_timestamp() const { return _midi_clock_timestamp; } void set_midi_clock_timestamp(const nframes_t timestamp) { _midi_clock_timestamp = timestamp; } sigc::signal mtc_status;