diff --git a/libs/ardour/audio_unit.cc b/libs/ardour/audio_unit.cc index 73f740d00c..1ee140ac0a 100644 --- a/libs/ardour/audio_unit.cc +++ b/libs/ardour/audio_unit.cc @@ -1328,7 +1328,7 @@ AUPlugin::can_support_io_configuration (const ChanCount& in, ChanCount& out, Cha #endif // preferred setting (provided by plugin_insert) - const int preferred_out = out.n_audio (); + const int32_t preferred_out = out.n_audio (); bool found = false; bool exact_match = false; @@ -1379,7 +1379,7 @@ AUPlugin::can_support_io_configuration (const ChanCount& in, ChanCount& out, Cha /* now allow potentially "imprecise" matches */ int32_t audio_out = -1; float penalty = 9999; - int used_possible_in = 0; + int32_t used_possible_in = 0; #if defined (__clang__) # pragma clang diagnostic push # pragma clang diagnostic ignored "-Wtautological-compare" @@ -1403,7 +1403,7 @@ AUPlugin::can_support_io_configuration (const ChanCount& in, ChanCount& out, Cha _output_configs.insert (0); #define UPTO(nch) { \ - for (int n = 1; n <= nch; ++n) { \ + for (int32_t n = 1; n <= nch; ++n) { \ _output_configs.insert (n); \ } \ }