1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-09 23:34:20 +00:00

juce_midi_ci: Improve MinGW compatibility

This commit is contained in:
reuk 2023-11-02 12:01:52 +00:00
parent 660af8c674
commit 6d7485fd0d
No known key found for this signature in database
GPG key ID: FCB43929F012EE5C
4 changed files with 7 additions and 6 deletions

View file

@ -1634,7 +1634,7 @@ private:
const auto channelIndex = address.getChannel() != ci::ChannelInGroup::wholeGroup
? (size_t) address.getChannel()
: 16;
const auto buttonIndex = address.getGroup() * numChannelColumns + channelIndex;
const auto buttonIndex = (size_t) address.getGroup() * numChannelColumns + channelIndex;
return buttons[buttonIndex];
}