Warning in recent commit

#1

https://github.com/WeAreROLI/JUCE/commit/98244f1ed1dde0d2601b629f496c5843c29f90ad#diff-58e32e27a07ea76ba4dada32df0eb086R1363#L1363

            UInt32 paramListSize = 0;
            AudioUnitGetPropertyInfo (audioUnit, kAudioUnitProperty_ParameterList, kAudioUnitScope_Global,
                                      0, &paramListSize, nullptr);
            haveParameterList = paramListSize >= 0;  //  Always true

Comparison of unsigned int is always true.

Rail

0 Likes

#2

Whoops. I’ll get that fixed. Thanks for reporting.

1 Like