aboutsummaryrefslogtreecommitdiff
path: root/src/adlmidi_private.hpp
diff options
context:
space:
mode:
authorVitaly Novichkov <admin@wohlnet.ru>2018-03-25 01:34:37 +0300
committerVitaly Novichkov <admin@wohlnet.ru>2018-03-25 01:34:37 +0300
commit04ab4c1bcf65870cbe34b405a181a4246bcd91e8 (patch)
treed0f725cb7752af7a8564ca12221552574df777fb /src/adlmidi_private.hpp
parentc4b246410d7b1388045d0a49cb6a6f216858c51c (diff)
downloadlibADLMIDI-04ab4c1bcf65870cbe34b405a181a4246bcd91e8.tar.gz
libADLMIDI-04ab4c1bcf65870cbe34b405a181a4246bcd91e8.tar.bz2
libADLMIDI-04ab4c1bcf65870cbe34b405a181a4246bcd91e8.zip
Fixed the `long` vs `int64_t` conflict in CalculateAdlChannelGoodness
It's a warning came from MSVC
Diffstat (limited to 'src/adlmidi_private.hpp')
-rw-r--r--src/adlmidi_private.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/adlmidi_private.hpp b/src/adlmidi_private.hpp
index 8f0c657..8523343 100644
--- a/src/adlmidi_private.hpp
+++ b/src/adlmidi_private.hpp
@@ -965,7 +965,7 @@ private:
// Determine how good a candidate this adlchannel
// would be for playing a note from this instrument.
- long CalculateAdlChannelGoodness(unsigned c, const MIDIchannel::NoteInfo::Phys &ins, uint16_t /*MidCh*/) const;
+ int64_t CalculateAdlChannelGoodness(unsigned c, const MIDIchannel::NoteInfo::Phys &ins, uint16_t /*MidCh*/) const;
// A new note will be played on this channel using this instrument.
// Kill existing notes on this channel (or don't, if we do arpeggio)