projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
15e9cb7
)
Build fix for previous.
author
Carl Hetherington
<cth@carlh.net>
Sat, 4 May 2019 22:00:48 +0000
(22:00 +0000)
committer
Carl Hetherington
<cth@carlh.net>
Sat, 4 May 2019 22:00:48 +0000
(22:00 +0000)
src/wx/audio_mapping_view.cc
patch
|
blob
|
history
diff --git
a/src/wx/audio_mapping_view.cc
b/src/wx/audio_mapping_view.cc
index ef37e1b7a32d88b194de4c432aa59877a3e39fb6..959975a0096912fd0a72149bfcd55214cadb7483 100644
(file)
--- 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 */
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) {
for (size_t x = 0; x < output; ++x) {
for (size_t y = 0; y < input; ++y) {