From b474de4a54c9b1d4d863971e40b807588d554436 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 24 Aug 2012 22:48:35 +0300 Subject: replace defines to consts. --- src/spellshortcut.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/spellshortcut.cpp') 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 spells = spellManager->getAll(); - int k = 0; + unsigned k = 0; for (std::vector::const_iterator i = spells.begin(), i_end = spells.end(); i != i_end -- cgit v1.2.3-70-g09d2