From 04ab4c1bcf65870cbe34b405a181a4246bcd91e8 Mon Sep 17 00:00:00 2001 From: Vitaly Novichkov Date: Sun, 25 Mar 2018 01:34:37 +0300 Subject: Fixed the `long` vs `int64_t` conflict in CalculateAdlChannelGoodness It's a warning came from MSVC --- src/adlmidi_private.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/adlmidi_private.hpp') 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) -- cgit v1.2.3