diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-08-08 21:20:53 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-08-08 21:20:53 +0300 |
commit | 64887d7ee931fa8426d25c4aaf0ee1a767d4a761 (patch) | |
tree | 038eb18058213ccbde5296686d3d687df610aac5 /src/gui/shortcut/spellshortcut.h | |
parent | 91e74d8f1dc3f1fe01cb65822913488f5cbc5657 (diff) | |
download | manaplus-64887d7ee931fa8426d25c4aaf0ee1a767d4a761.tar.gz manaplus-64887d7ee931fa8426d25c4aaf0ee1a767d4a761.tar.bz2 manaplus-64887d7ee931fa8426d25c4aaf0ee1a767d4a761.tar.xz manaplus-64887d7ee931fa8426d25c4aaf0ee1a767d4a761.zip |
Use size_t type for index in other shortcut classes.
Diffstat (limited to 'src/gui/shortcut/spellshortcut.h')
-rw-r--r-- | src/gui/shortcut/spellshortcut.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/shortcut/spellshortcut.h b/src/gui/shortcut/spellshortcut.h index 45fe6d252..4eab518a6 100644 --- a/src/gui/shortcut/spellshortcut.h +++ b/src/gui/shortcut/spellshortcut.h @@ -75,7 +75,7 @@ class SpellShortcut final * * @param index Index of the shortcut item. */ - int getItem(const int index) const + int getItem(const size_t index) const { return mItems[index]; } private: |