summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-17 23:23:03 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-17 23:23:03 +0300
commitea62d7b05f332f13e3a88ee24c3946600a77a085 (patch)
treebfaeac4725041ed7b5aa747529c7b73d54fe6175 /src/gui
parent45c7fa7d912504e25396320013baf388c419f908 (diff)
downloadplus-ea62d7b05f332f13e3a88ee24c3946600a77a085.tar.gz
plus-ea62d7b05f332f13e3a88ee24c3946600a77a085.tar.bz2
plus-ea62d7b05f332f13e3a88ee24c3946600a77a085.tar.xz
plus-ea62d7b05f332f13e3a88ee24c3946600a77a085.zip
Fix compilation warning.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/widgets/skillinfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/skillinfo.cpp b/src/gui/widgets/skillinfo.cpp
index 6385cdd8d..c3987eed0 100644
--- a/src/gui/widgets/skillinfo.cpp
+++ b/src/gui/widgets/skillinfo.cpp
@@ -135,7 +135,7 @@ void SkillInfo::update()
default:
// TRANSLATORS: Skill type
skillEffect = strprintf(typeStr, _("Unknown:"));
- skillEffect.append(" ").append(toString(type));
+ skillEffect.append(" ").append(toString(static_cast<int>(type)));
break;
}