1
0
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:
rubidium
2010-08-10 16:17:51 +00:00
parent 91f31b59e8
commit 10ced06205

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