summaryrefslogtreecommitdiff
path: root/src/gui/shortcut/spellshortcut.h
diff options
context:
space:
mode:
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: