mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r18905) -Fix (r18902): Compile error on 64-bit with gcc
This commit is contained in:
parent
a4f50de959
commit
c83d57f228
|
@ -1673,7 +1673,7 @@ struct GameSettingsWindow : Window {
|
|||
/* Save the correct currency-translated value */
|
||||
if (sd->desc.flags & SGF_CURRENCY) value /= _currency->rate;
|
||||
} else {
|
||||
value = (int32)sd->desc.def;
|
||||
value = (int32)(size_t)sd->desc.def;
|
||||
}
|
||||
|
||||
if ((sd->desc.flags & SGF_PER_COMPANY) != 0) {
|
||||
|
|
Loading…
Reference in New Issue