mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-09-01 10:59:12 +00:00
(svn r20440) -Fix: MSVC warning about shifting a 32 bit value and then converting it to 64 bits
This commit is contained in:
@@ -2142,7 +2142,7 @@ struct IndustryCargoesWindow : public Window {
|
||||
{
|
||||
this->GetWidget<NWidgetCore>(ICW_CAPTION)->widget_data = STR_INDUSTRY_CARGOES_INDUSTRY_CAPTION;
|
||||
this->ind_cargo = it;
|
||||
_displayed_industries = 1 << it;
|
||||
_displayed_industries = 1ULL << it;
|
||||
|
||||
this->fields.Clear();
|
||||
CargoesRow *row = this->fields.Append();
|
||||
|
Reference in New Issue
Block a user