diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-09-27 23:43:44 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-09-27 23:43:44 +0300 |
commit | a8041ac28118de1caef73bdac9567c9a7e25e41f (patch) | |
tree | f5c9842626b0ebeb6328566fbd1f0a424fb9af47 /src/gui/windows/charselectdialog.cpp | |
parent | f70dcfe0a82db3aee879953f117d12aecc4fce85 (diff) | |
download | mv-a8041ac28118de1caef73bdac9567c9a7e25e41f.tar.gz mv-a8041ac28118de1caef73bdac9567c9a7e25e41f.tar.bz2 mv-a8041ac28118de1caef73bdac9567c9a7e25e41f.tar.xz mv-a8041ac28118de1caef73bdac9567c9a7e25e41f.zip |
Fix some issues with int64 to int32 implicit conversions.
Diffstat (limited to 'src/gui/windows/charselectdialog.cpp')
-rw-r--r-- | src/gui/windows/charselectdialog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windows/charselectdialog.cpp b/src/gui/windows/charselectdialog.cpp index aa4a80b4a..7b43aca09 100644 --- a/src/gui/windows/charselectdialog.cpp +++ b/src/gui/windows/charselectdialog.cpp @@ -259,8 +259,8 @@ void CharSelectDialog::action(const ActionEvent &event) CAST_U32( character->data.mAttributes[Attributes::PLAYER_BASE_LEVEL]), strExp.c_str(), - UnitsDb::formatCurrency( - character->data.mAttributes[Attributes::MONEY]).c_str()); + UnitsDb::formatCurrency(CAST_S32( + character->data.mAttributes[Attributes::MONEY])).c_str()); CREATEWIDGET(OkDialog, data->getName(), msg, // TRANSLATORS: ok dialog button _("OK"), |