summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/wx/cinema_dialog.cc8
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;
}