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