(svn r18905) -Fix (r18902): Compile error on 64-bit with gcc

pull/155/head
peter1138 15 years ago
parent 04f83cbe48
commit 52c576936f

@ -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…
Cancel
Save