From 05a5120854df5298f00d0c63489356dd91844ac0 Mon Sep 17 00:00:00 2001 From: gxcreator Date: Sat, 2 May 2026 10:16:30 +0200 Subject: [PATCH] Fix compilation warning at HotKey.cpp --- Source/UserInterface/HotKey.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/UserInterface/HotKey.cpp b/Source/UserInterface/HotKey.cpp index 79ed3c3f8..0e9f7b460 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; }