diff options
author | Wohlstand <admin@wohlnet.ru> | 2017-06-19 22:32:10 +0300 |
---|---|---|
committer | Wohlstand <admin@wohlnet.ru> | 2017-06-19 22:32:10 +0300 |
commit | 68fad96a61c23520d2ec0f90de0c5e03c96f2f82 (patch) | |
tree | 86c8678b1f93a8c8bb1641853373aaf156d66490 /src/adlmidi.cpp | |
parent | 850a5a1b1cbaa4b85990368bf998fce72639e156 (diff) | |
download | libADLMIDI-68fad96a61c23520d2ec0f90de0c5e03c96f2f82.tar.gz libADLMIDI-68fad96a61c23520d2ec0f90de0c5e03c96f2f82.tar.bz2 libADLMIDI-68fad96a61c23520d2ec0f90de0c5e03c96f2f82.zip |
Fixed compatibility with MSVC
Diffstat (limited to 'src/adlmidi.cpp')
-rw-r--r-- | src/adlmidi.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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]; } |