diff options
author | Wohlstand <admin@wohlnet.ru> | 2017-11-09 01:22:57 +0300 |
---|---|---|
committer | Wohlstand <admin@wohlnet.ru> | 2017-11-09 01:22:57 +0300 |
commit | b8f92368baca15f7520a0a3124b5899909c63042 (patch) | |
tree | 5bb71ab0bbee17c0e81724aae6de52b8fe08cca7 /src | |
parent | 17b5e86f44f3d71e8fe43c40f57c12a9649c7ad5 (diff) | |
download | libADLMIDI-b8f92368baca15f7520a0a3124b5899909c63042.tar.gz libADLMIDI-b8f92368baca15f7520a0a3124b5899909c63042.tar.bz2 libADLMIDI-b8f92368baca15f7520a0a3124b5899909c63042.zip |
Fixed a small warning
Diffstat (limited to 'src')
-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 d6471e9..5e252db 100644 --- a/src/adlmidi.cpp +++ b/src/adlmidi.cpp @@ -133,7 +133,7 @@ ADLMIDI_EXPORT int adl_setNumFourOpsChn(ADL_MIDIPlayer *device, int ops4) if(!device) return -1; MIDIplay *play = reinterpret_cast<MIDIplay *>(device->adl_midiPlayer); - if(ops4 > 6 * play->m_setup.NumCards) + if((unsigned int)ops4 > 6 * play->m_setup.NumCards) { std::stringstream s; s << "number of four-op channels may only be 0.." << (6 * (play->m_setup.NumCards)) << " when " << play->m_setup.NumCards << " OPL3 cards are used.\n"; |