Using static_cast as suggested by Shatur.

This commit is contained in:
Javier O. Cordero
2022-07-01 10:52:16 +03:00
committed by Hennadii Chernyshchyk
parent 6b1c6f1f4e
commit 94efd5fb61
+1 -1
View File
@@ -235,7 +235,7 @@ quint32 QHotkeyPrivateWin::nativeKeycode(Qt::Key keycode, bool &ok)
default:
if(keycode <= 0xFFFF)
return (BYTE)keycode;
return static_cast<BYTE>(keycode);
else {
ok = false;
return 0;