summaryrefslogtreecommitdiff
path: root/src/itemshortcut.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/itemshortcut.cpp')
-rw-r--r--src/itemshortcut.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/itemshortcut.cpp b/src/itemshortcut.cpp
index b15e618d7..7f8f8ddc0 100644
--- a/src/itemshortcut.cpp
+++ b/src/itemshortcut.cpp
@@ -62,7 +62,7 @@ void ItemShortcut::load(bool oldConfig)
name = "shortcut";
for (int i = 0; i < SHORTCUT_ITEMS; i++)
{
- int itemId = (int) cfg->getValue(name + toString(i), -1);
+ int itemId = static_cast<int>(cfg->getValue(name + toString(i), -1));
mItems[i] = itemId;
}