Mercurial > hg > svcore
diff data/midi/MIDIInput.h @ 929:59e7fe1b1003 warnfix_no_size_t
Unsigned removals and warning fixes in data/
author | Chris Cannam |
---|---|
date | Tue, 17 Jun 2014 14:33:42 +0100 |
parents | e6d35670e1df |
children | ad5f892c0c4d |
line wrap: on
line diff
--- a/data/midi/MIDIInput.h Tue Jun 17 13:52:07 2014 +0100 +++ b/data/midi/MIDIInput.h Tue Jun 17 14:33:42 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: