summaryrefslogtreecommitdiff
path: root/src/spellshortcut.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/spellshortcut.cpp')
-rw-r--r--src/spellshortcut.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/spellshortcut.cpp b/src/spellshortcut.cpp
index 7d488299b..9e31d1295 100644
--- a/src/spellshortcut.cpp
+++ b/src/spellshortcut.cpp
@@ -48,14 +48,14 @@ SpellShortcut::~SpellShortcut()
void SpellShortcut::load()
{
- for (int f = 0; f < SPELL_SHORTCUT_ITEMS * SPELL_SHORTCUT_TABS; f ++)
+ for (unsigned f = 0; f < SPELL_SHORTCUT_ITEMS * SPELL_SHORTCUT_TABS; f ++)
mItems[f] = -1;
if (!spellManager)
return;
std::vector<TextCommand*> spells = spellManager->getAll();
- int k = 0;
+ unsigned k = 0;
for (std::vector<TextCommand*>::const_iterator i = spells.begin(),
i_end = spells.end(); i != i_end