summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-10-17 23:17:40 +0100
committerCarl Hetherington <cth@carlh.net>2012-10-17 23:17:40 +0100
commita38bc6d700cf1a8e7fc5cb21adb0dd58cb4b19a6 (patch)
tree3359c9b850f68c079fc91d93a2cd894376fc7df7 /src
parent3fd355d42facdb71a703ff1a70d524a6987b4904 (diff)
Fix build on 32-bit.
Diffstat (limited to 'src')
-rw-r--r--src/wx/film_viewer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/film_viewer.cc b/src/wx/film_viewer.cc
index 614dd794b..a3827fba1 100644
--- a/src/wx/film_viewer.cc
+++ b/src/wx/film_viewer.cc
@@ -234,7 +234,7 @@ FilmViewer::FilmViewer (Film* f, wxWindow* p)
_thumb_panel = new ThumbPanel (this, f);
_sizer->Add (_thumb_panel, 1, wxEXPAND);
- int const m = max (1LU, f ? f->thumbs().size() - 1 : 0);
+ int const m = max ((size_t) 1, f ? f->thumbs().size() - 1 : 0);
_slider = new wxSlider (this, wxID_ANY, 0, 0, m);
_sizer->Add (_slider, 0, wxEXPAND | wxLEFT | wxRIGHT);
set_thumbnail (0);