diff options
author | Wohlstand <admin@wohlnet.ru> | 2022-12-01 04:08:16 +0300 |
---|---|---|
committer | Wohlstand <admin@wohlnet.ru> | 2022-12-01 04:08:16 +0300 |
commit | 969cf13b7747af661e7e7d4678bac430847a3af2 (patch) | |
tree | 2ca072f574241fd64bf88063bdbc1c380325a61b /src/midi_sequencer_impl.hpp | |
parent | 245d0c98b78be7de8ab81ed1f384d86953947046 (diff) | |
download | libADLMIDI-969cf13b7747af661e7e7d4678bac430847a3af2.tar.gz libADLMIDI-969cf13b7747af661e7e7d4678bac430847a3af2.tar.bz2 libADLMIDI-969cf13b7747af661e7e7d4678bac430847a3af2.zip |
Sequencer: Fixed the sign comparison warning
Diffstat (limited to 'src/midi_sequencer_impl.hpp')
-rw-r--r-- | src/midi_sequencer_impl.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/midi_sequencer_impl.hpp b/src/midi_sequencer_impl.hpp index a37988d..444e98a 100644 --- a/src/midi_sequencer_impl.hpp +++ b/src/midi_sequencer_impl.hpp @@ -2250,7 +2250,7 @@ static bool detectRSXX(const char *head, FileAndMemReader &fr) bool ret = false; // Try to identify RSXX format - if(head[0] >= 0x5D && fr.fileSize() > head[0]) + if(head[0] >= 0x5D && fr.fileSize() > reinterpret_cast<const uint8_t*>(head)[0]) { fr.seek(head[0] - 0x10, FileAndMemReader::SET); fr.read(headerBuf, 1, 6); |