summaryrefslogtreecommitdiff
path: root/src/gui/shortcut/spellshortcut.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-08 21:20:53 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-08 21:20:53 +0300
commit64887d7ee931fa8426d25c4aaf0ee1a767d4a761 (patch)
tree038eb18058213ccbde5296686d3d687df610aac5 /src/gui/shortcut/spellshortcut.h
parent91e74d8f1dc3f1fe01cb65822913488f5cbc5657 (diff)
downloadmv-64887d7ee931fa8426d25c4aaf0ee1a767d4a761.tar.gz
mv-64887d7ee931fa8426d25c4aaf0ee1a767d4a761.tar.bz2
mv-64887d7ee931fa8426d25c4aaf0ee1a767d4a761.tar.xz
mv-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.h2
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: