Mercurial > hg > openttd
changeset 15766:d17efe64f4ca draft
(svn r20440) -Fix: MSVC warning about shifting a 32 bit value and then converting it to 64 bits
author | rubidium <rubidium@openttd.org> |
---|---|
date | Tue, 10 Aug 2010 16:17:51 +0000 |
parents | 02f88e78d6a1 |
children | 293a91934c7d |
files | src/industry_gui.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/industry_gui.cpp +++ b/src/industry_gui.cpp @@ -2142,7 +2142,7 @@ { 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();