Mercurial > hg > svcore
diff data/midi/MIDIInput.h @ 936:0c1d6de8f44b
Merge from branch warnfix_no_size_t
author | Chris Cannam |
---|---|
date | Wed, 18 Jun 2014 13:51:16 +0100 |
parents | 59e7fe1b1003 |
children | ad5f892c0c4d |
line wrap: on
line diff
--- a/data/midi/MIDIInput.h Tue Jun 03 11:05:49 2014 +0100 +++ b/data/midi/MIDIInput.h Wed Jun 18 13:51:16 2014 +0100 @@ -36,7 +36,7 @@ bool isOK() const { return m_rtmidi != 0; } bool isEmpty() const { return getEventsAvailable() == 0; } - size_t getEventsAvailable() const { return m_buffer.getReadSpace(); } + int getEventsAvailable() const { return m_buffer.getReadSpace(); } MIDIEvent readEvent(); signals: