diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-04-30 19:52:16 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-04-30 19:52:16 +0300 |
commit | 88c6a0aa757df0ec38bc67f2cf314f8be3efd0ce (patch) | |
tree | b35a28cd317e2895c063749180b98edfe223c032 /src/gui/widgets/characterdisplay.cpp | |
parent | c24fefa91a1416a4dad7fd97d67cefa51f9eb97c (diff) | |
download | manaverse-88c6a0aa757df0ec38bc67f2cf314f8be3efd0ce.tar.gz manaverse-88c6a0aa757df0ec38bc67f2cf314f8be3efd0ce.tar.bz2 manaverse-88c6a0aa757df0ec38bc67f2cf314f8be3efd0ce.tar.xz manaverse-88c6a0aa757df0ec38bc67f2cf314f8be3efd0ce.zip |
Fix code style in gui.
Diffstat (limited to 'src/gui/widgets/characterdisplay.cpp')
-rw-r--r-- | src/gui/widgets/characterdisplay.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/widgets/characterdisplay.cpp b/src/gui/widgets/characterdisplay.cpp index a5cf2379e..941249560 100644 --- a/src/gui/widgets/characterdisplay.cpp +++ b/src/gui/widgets/characterdisplay.cpp @@ -132,7 +132,8 @@ void CharacterDisplay::mouseMoved(MouseEvent &event A_UNUSED) if (!name.empty()) { mPopup->show(mouseX, mouseY, name, strprintf(_("Level: %u"), - mCharacter->data.mAttributes[PlayerInfo::LEVEL]), + static_cast<uint32_t>( + mCharacter->data.mAttributes[PlayerInfo::LEVEL])), strprintf(_("Money: %s"), Units::formatCurrency( mCharacter->data.mAttributes[PlayerInfo::MONEY]).c_str())); } |