commit ca01eaf518385e4a0870fc8e870e1ef0a257e629
parent 315d29b26350bbc09879e141aa67a5c17b77310d
Author: Hans Petter Selasky <[email protected]>
Date: Thu, 3 Oct 2019 20:23:03 +0200
Fix signed comparison compiler warning.
Signed-off-by: Hans Petter Selasky <[email protected]>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Nio/AlsaEngine.cpp b/src/Nio/AlsaEngine.cpp
@@ -206,7 +206,7 @@ void *AlsaEngine::MidiThread(void)
break;
case SND_SEQ_EVENT_SYSEX: // system exclusive
- for (int x = 0; x < event->data.ext.len; x += 3) {
+ for (unsigned int x = 0; x < event->data.ext.len; x += 3) {
uint8_t buf[3];
int y = event->data.ext.len - x;
if (y >= 3) {