diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-05-06 15:14:12 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-05-06 15:14:12 +0100 |
| commit | 84be56b8107b812f16b6b244f8184c0983eaed6f (patch) | |
| tree | f4dcec2608ae3cabda5e7afcd83f3ced11e961a3 /src | |
| parent | 9bf304a86a3df6f4b10a572d657b5d7beb910582 (diff) | |
Try to fix win32 build.
Diffstat (limited to 'src')
| -rw-r--r-- | src/wx/timeline.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/timeline.cc b/src/wx/timeline.cc index 52707e45c..7e0ecf27e 100644 --- a/src/wx/timeline.cc +++ b/src/wx/timeline.cc @@ -42,7 +42,7 @@ Timeline::Timeline (wxWindow* parent, shared_ptr<Playlist> pl) if (pl->audio_from() == Playlist::AUDIO_FFMPEG) { SetMinSize (wxSize (640, _track_height * 2 + 96)); } else { - SetMinSize (wxSize (640, _track_height * (max (1UL, pl->audio().size()) + 1) + 96)); + SetMinSize (wxSize (640, _track_height * (max (size_t (1), pl->audio().size()) + 1) + 96)); } pl->Changed.connect (bind (&Timeline::playlist_changed, this)); |
