summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/characterviewnormal.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/characterviewnormal.cpp b/src/gui/widgets/characterviewnormal.cpp
index ba25e2753..97f195682 100644
--- a/src/gui/widgets/characterviewnormal.cpp
+++ b/src/gui/widgets/characterviewnormal.cpp
@@ -44,7 +44,7 @@ CharacterViewNormal::CharacterViewNormal(CharSelectDialog *const widget,
character->setVisible(true);
}
const size_t sz = mCharacterEntries->size();
- if (mSelected >= 0 && mSelected < sz)
+ if (mSelected >= 0 && mSelected < static_cast<signed>(sz))
{
CharacterDisplay *const display = (*mCharacterEntries)[mSelected];
if (display)