From 68fad96a61c23520d2ec0f90de0c5e03c96f2f82 Mon Sep 17 00:00:00 2001 From: Wohlstand Date: Mon, 19 Jun 2017 22:32:10 +0300 Subject: Fixed compatibility with MSVC --- src/adlmidi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/adlmidi.cpp') diff --git a/src/adlmidi.cpp b/src/adlmidi.cpp index 5bb384d..5b707e8 100644 --- a/src/adlmidi.cpp +++ b/src/adlmidi.cpp @@ -375,7 +375,7 @@ ADLMIDI_EXPORT int adl_play(ADL_MIDIPlayer *device, int sampleCount, short *out) if(ate < device->backup_samples_size) { - for(int j = 0; j < ate; j++) + for(ssize_t j = 0; j < ate; j++) device->backup_samples[(ate - 1) - j] = device->backup_samples[(device->backup_samples_size - 1) - j]; } -- cgit v1.2.3