projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3fd355d
)
Fix build on 32-bit.
author
Carl Hetherington
<cth@carlh.net>
Wed, 17 Oct 2012 22:17:40 +0000
(23:17 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Wed, 17 Oct 2012 22:17:40 +0000
(23:17 +0100)
src/wx/film_viewer.cc
patch
|
blob
|
history
diff --git
a/src/wx/film_viewer.cc
b/src/wx/film_viewer.cc
index 614dd794b8a336ebeb200cb023d703d96cbec293..a3827fba1df1e6acc5c67ca7dca661d97bda95ec 100644
(file)
--- 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);