diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-01-01 19:32:03 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-01-01 19:32:03 +0300 |
commit | 38bed185876ab4e639412392005c0fe01e05d4f2 (patch) | |
tree | 13cf6f6a6a7a416de5c760159725c75b6e001d7e /src | |
parent | 37be713ea07bbe8ddcea10c77bf1bfa2cd74b989 (diff) | |
download | manaverse-38bed185876ab4e639412392005c0fe01e05d4f2.tar.gz manaverse-38bed185876ab4e639412392005c0fe01e05d4f2.tar.bz2 manaverse-38bed185876ab4e639412392005c0fe01e05d4f2.tar.xz manaverse-38bed185876ab4e639412392005c0fe01e05d4f2.zip |
Fix compilation warning.
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/widgets/characterviewnormal.cpp | 2 |
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) |