summaryrefslogtreecommitdiff
path: root/src/gui/skilldialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-03-29 01:36:33 +0300
committerAndrei Karas <akaras@inbox.ru>2013-03-29 01:36:33 +0300
commit50e6f52f9f326d09ee5a2d0f8e8c2235c5e9cd22 (patch)
tree621b805e2fa1f20ccbcbb98e652df784677e63c5 /src/gui/skilldialog.cpp
parentffcc519acbc3b4dc4e5d46bc2f70aa0dcf516131 (diff)
downloadmanaverse-50e6f52f9f326d09ee5a2d0f8e8c2235c5e9cd22.tar.gz
manaverse-50e6f52f9f326d09ee5a2d0f8e8c2235c5e9cd22.tar.bz2
manaverse-50e6f52f9f326d09ee5a2d0f8e8c2235c5e9cd22.tar.xz
manaverse-50e6f52f9f326d09ee5a2d0f8e8c2235c5e9cd22.zip
fix some warnings.
Diffstat (limited to 'src/gui/skilldialog.cpp')
-rw-r--r--src/gui/skilldialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/skilldialog.cpp b/src/gui/skilldialog.cpp
index db463f9e6..c89bf5697 100644
--- a/src/gui/skilldialog.cpp
+++ b/src/gui/skilldialog.cpp
@@ -511,12 +511,12 @@ void SkillDialog::loadSkills()
data->setIcon(icon);
if (skill->id < SKILL_VAR_MIN_ID)
{
- data->dispName = strprintf("%s, %d",
+ data->dispName = strprintf("%s, %u",
name.c_str(), skill->id);
}
else
{
- data->dispName = strprintf("%s, (%d)",
+ data->dispName = strprintf("%s, (%u)",
name.c_str(), skill->id - SKILL_VAR_MIN_ID);
}
data->shortName = XML::langProperty(node,