Fix signed/unsigned comparison warning

From #1903
develop
lethosor 2021-08-28 15:15:13 -04:00
parent 39c650de13
commit 1d9f12fe3f
No known key found for this signature in database
GPG Key ID: 76A269552F4F58C1
1 changed files with 1 additions and 1 deletions

@ -502,7 +502,7 @@ struct buildingplan_query_hook : public df::viewscreen_dwarfmodest
{ {
if (!bld if (!bld
|| bld->jobs.size() < 1 || bld->jobs.size() < 1
|| bld->jobs[0]->job_items.size() <= filter_idx) || int(bld->jobs[0]->job_items.size()) <= filter_idx)
return false; return false;
// if all items for this filter are attached, the quantity will be 0 // if all items for this filter are attached, the quantity will be 0