Fix various compiler warnings

See: #267
This commit is contained in:
Jonathan G Rennison
2021-06-11 22:54:27 +01:00
parent 97d5982cb5
commit 1002c6d9d2
46 changed files with 101 additions and 101 deletions

View File

@@ -219,7 +219,7 @@ struct SchdispatchWindow : Window {
{
this->item_count = 0;
if (this->vehicle->orders.list != nullptr) {
this->item_count = this->vehicle->orders.list->GetScheduledDispatch().size();
this->item_count = (uint)this->vehicle->orders.list->GetScheduledDispatch().size();
}
}