diff options
author | rubidium <rubidium@openttd.org> | 2010-08-10 16:17:51 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-08-10 16:17:51 +0000 |
commit | 10ced06205de420fb1796a0e126136c0fe92f61f (patch) | |
tree | ba9e85afd71d2ef18a74e505a7732b4f3a2c15ac /src | |
parent | 91f31b59e84cf54fa522cda02c1145c773640ecf (diff) | |
download | openttd-10ced06205de420fb1796a0e126136c0fe92f61f.tar.xz |
(svn r20440) -Fix: MSVC warning about shifting a 32 bit value and then converting it to 64 bits
Diffstat (limited to 'src')
-rw-r--r-- | src/industry_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/industry_gui.cpp b/src/industry_gui.cpp index 5f66973a8..a8182e909 100644 --- a/src/industry_gui.cpp +++ b/src/industry_gui.cpp @@ -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(); |