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:
parent
660af8c674
commit
6d7485fd0d
4 changed files with 7 additions and 6 deletions
|
|
@ -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];
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue