X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Faudio_mapping_view.cc;h=959975a0096912fd0a72149bfcd55214cadb7483;hb=aef19d980eedbb65e88060fe90ce41c89a04a7cc;hp=ef37e1b7a32d88b194de4c432aa59877a3e39fb6;hpb=15e9cb7324f1b331acde37d30590ba42c032eff2;p=dcpomatic.git diff --git a/src/wx/audio_mapping_view.cc b/src/wx/audio_mapping_view.cc index ef37e1b7a..959975a00 100644 --- a/src/wx/audio_mapping_view.cc +++ b/src/wx/audio_mapping_view.cc @@ -270,8 +270,8 @@ void AudioMappingView::paint_indicators (wxDC& dc) { /* _{input,output}_channels and _map may not always be in sync, be careful here */ - size_t const output = min(_output_channels.size(), _map.output_channels()); - size_t const input = min(_input_channels.size(), _map.input_channels()); + size_t const output = min(_output_channels.size(), size_t(_map.output_channels())); + size_t const input = min(_input_channels.size(), size_t(_map.input_channels())); for (size_t x = 0; x < output; ++x) { for (size_t y = 0; y < input; ++y) {