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

This commit is contained in:
rubidium 2010-08-10 16:17:51 +00:00
parent 91f31b59e8
commit 10ced06205
1 changed files with 1 additions and 1 deletions

View File

@ -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();