Skip to content

Commit

Permalink
Address warning
Browse files Browse the repository at this point in the history
  • Loading branch information
edo9300 committed Sep 21, 2024
1 parent 7df98f9 commit 1fc4a58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion field.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2534,7 +2534,7 @@ int32_t field::check_tribute(card* pcard, int32_t min, int32_t max, group* mg, u
if(ct <= 0 && max <= 0)
return FALSE;
const auto& to_check_release_list = [&] {
if(ex_list.size() > 0 && ex_list.size() >= min)
if(ex_list.size() > 0 && static_cast<int32_t>(ex_list.size()) >= min)
return ex_list;
return release_list;
}();
Expand Down

0 comments on commit 1fc4a58

Please sign in to comment.