[build] fix 32-bit build

This commit is contained in:
Tim Stack 2022-08-10 15:08:12 -07:00
parent ca7efa822f
commit 061e3690de
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ status_field::do_cylon()
? cycle_pos
: (this->sf_width - (cycle_pos - this->sf_width) - 1);
auto stop = std::min(start + 3, this->sf_width);
struct line_range lr(std::max(start, 0L), stop);
struct line_range lr(std::max<long>(start, 0L), stop);
auto& vc = view_colors::singleton();
auto attrs = vc.attrs_for_role(role_t::VCR_ACTIVE_STATUS);