diff --git a/Source/UserInterface/HotKey.cpp b/Source/UserInterface/HotKey.cpp index 79ed3c3f..0e9f7b46 100644 --- a/Source/UserInterface/HotKey.cpp +++ b/Source/UserInterface/HotKey.cpp @@ -245,9 +245,9 @@ bool HotKeyManager::loadHotKey(std::vector& simpleHotKeys, size_t i, Ini key2 = VK_NONE; } if (key2 == VK_NONE) { - simpleHotKeys.emplace_back(i, threshold, key1, key2, custom); + simpleHotKeys.emplace_back(static_cast(i), threshold, key1, key2, custom); } else { - hotKeys.emplace_back(i, threshold, key1, key2, custom); + hotKeys.emplace_back(static_cast(i), threshold, key1, key2, custom); } return true; }