From 64887d7ee931fa8426d25c4aaf0ee1a767d4a761 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 8 Aug 2017 21:20:53 +0300 Subject: Use size_t type for index in other shortcut classes. --- src/gui/shortcut/spellshortcut.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/shortcut/spellshortcut.h') 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: -- cgit v1.2.3-70-g09d2