(svn r20440) -Fix: MSVC warning about shifting a 32 bit value and then converting it to 64 bits

pull/155/head
rubidium 14 years ago
parent 8ac6b5d351
commit 13fbe57957

@ -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…
Cancel
Save