mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-20 01:14:20 +00:00
AU: Fixed a compiler warning
This commit is contained in:
parent
8433b3799d
commit
8408e54637
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue