From 10ced06205de420fb1796a0e126136c0fe92f61f Mon Sep 17 00:00:00 2001 From: rubidium Date: Tue, 10 Aug 2010 16:17:51 +0000 Subject: [PATCH] (svn r20440) -Fix: MSVC warning about shifting a 32 bit value and then converting it to 64 bits --- src/industry_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/industry_gui.cpp b/src/industry_gui.cpp index 5f66973a8f..a8182e9091 100644 --- a/src/industry_gui.cpp +++ b/src/industry_gui.cpp @@ -2142,7 +2142,7 @@ struct IndustryCargoesWindow : public Window { { this->GetWidget(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();