mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-29 01:19:11 +00:00
(svn r18905) -Fix (r18902): Compile error on 64-bit with gcc
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user