summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}