Browse Source

AU: Fixed a compiler warning

tags/2021-05-28
tpoole 8 years ago
parent
commit
8408e54637
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      modules/juce_audio_processors/format_types/juce_AudioUnitPluginFormat.mm

+ 2
- 2
modules/juce_audio_processors/format_types/juce_AudioUnitPluginFormat.mm View File

@@ -1351,10 +1351,10 @@ private:
|| event.mEventType == kAudioUnitEvent_BeginParameterChangeGesture
|| event.mEventType == kAudioUnitEvent_EndParameterChangeGesture)
{
auto it = paramIDToIndex.find (event.mArgument.mParameter.mParameterID)
auto it = paramIDToIndex.find (event.mArgument.mParameter.mParameterID);
if (it != paramIDToIndex.end())
paramIndex = it->second;
paramIndex = (int) it->second;
if (! isPositiveAndBelow (paramIndex, parameters.size()))
return;


Loading…
Cancel
Save