X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fcinema_dialog.cc;h=624fcb13af86d37a75e93cd2bfdef6c5a23bf0c6;hb=d8e0660d716654c4ac0a1aa5a5ae15e46d4d2883;hp=b4663195f27ab9438a39af4b00cd41a0c197e803;hpb=5e1c6b68d2577498b47489f3e08331722fc50de5;p=dcpomatic.git 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; }