summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-05-04 22:00:48 +0000
committerCarl Hetherington <cth@carlh.net>2019-05-04 22:00:48 +0000
commitaef19d980eedbb65e88060fe90ce41c89a04a7cc (patch)
tree1aac2c39192ca65565293470a8311ecda4d27c27
parent15e9cb7324f1b331acde37d30590ba42c032eff2 (diff)
Build fix for previous.
-rw-r--r--src/wx/audio_mapping_view.cc4
1 files changed, 2 insertions, 2 deletions
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) {