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

This commit is contained in:
peter1138 2010-01-23 22:25:00 +00:00
parent a4f50de959
commit c83d57f228
1 changed files with 1 additions and 1 deletions

View File

@ -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) {