diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-04-12 02:17:38 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-04-12 02:17:38 +0100 |
| commit | d8e0660d716654c4ac0a1aa5a5ae15e46d4d2883 (patch) | |
| tree | 43cdbb693cc4883f47e25529931a28a3bca6a71d /src | |
| parent | 5e1c6b68d2577498b47489f3e08331722fc50de5 (diff) | |
Fix warning.
Diffstat (limited to 'src')
| -rw-r--r-- | src/wx/cinema_dialog.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/wx/cinema_dialog.cc b/src/wx/cinema_dialog.cc index b4663195f..624fcb13a 100644 --- a/src/wx/cinema_dialog.cc +++ b/src/wx/cinema_dialog.cc @@ -146,8 +146,8 @@ CinemaDialog::emails () const int CinemaDialog::utc_offset_hour () const { - size_t const sel = _utc_offset->GetSelection(); - if (sel < 0 || sel > _offsets.size()) { + int const sel = _utc_offset->GetSelection(); + if (sel < 0 || sel > int (_offsets.size())) { return 0; } @@ -157,8 +157,8 @@ CinemaDialog::utc_offset_hour () const int CinemaDialog::utc_offset_minute () const { - size_t const sel = _utc_offset->GetSelection(); - if (sel < 0 || sel > _offsets.size()) { + int const sel = _utc_offset->GetSelection(); + if (sel < 0 || sel > int (_offsets.size())) { return 0; } |
