mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r20440) -Fix: MSVC warning about shifting a 32 bit value and then converting it to 64 bits
This commit is contained in:
parent
91f31b59e8
commit
10ced06205
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue