summaryrefslogtreecommitdiff
path: root/src/gui/widgets/characterdisplay.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-09-27 23:43:44 +0300
committerAndrei Karas <akaras@inbox.ru>2017-09-27 23:43:44 +0300
commita8041ac28118de1caef73bdac9567c9a7e25e41f (patch)
treef5c9842626b0ebeb6328566fbd1f0a424fb9af47 /src/gui/widgets/characterdisplay.cpp
parentf70dcfe0a82db3aee879953f117d12aecc4fce85 (diff)
downloadmv-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/widgets/characterdisplay.cpp')
-rw-r--r--src/gui/widgets/characterdisplay.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/characterdisplay.cpp b/src/gui/widgets/characterdisplay.cpp
index efc256516..e5743615a 100644
--- a/src/gui/widgets/characterdisplay.cpp
+++ b/src/gui/widgets/characterdisplay.cpp
@@ -143,7 +143,7 @@ void CharacterDisplay::mouseMoved(MouseEvent &event A_UNUSED)
CAST_U32(
mCharacter->data.mAttributes[Attributes::PLAYER_BASE_LEVEL])),
// TRANSLATORS: character money
- strprintf(_("Money: %s"), UnitsDb::formatCurrency(
+ strprintf(_("Money: %s"), UnitsDb::formatCurrency64(
mCharacter->data.mAttributes[Attributes::MONEY]).c_str()));
}
else