summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-08-10 16:17:51 +0000
committerrubidium <rubidium@openttd.org>2010-08-10 16:17:51 +0000
commit10ced06205de420fb1796a0e126136c0fe92f61f (patch)
treeba9e85afd71d2ef18a74e505a7732b4f3a2c15ac /src
parent91f31b59e84cf54fa522cda02c1145c773640ecf (diff)
downloadopenttd-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.cpp2
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();