Skip to content

Commit 94efd5f

Browse files
CuperinoShatur
authored andcommitted
Using static_cast as suggested by Shatur.
1 parent 6b1c6f1 commit 94efd5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

QHotkey/qhotkey_win.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ quint32 QHotkeyPrivateWin::nativeKeycode(Qt::Key keycode, bool &ok)
235235

236236
default:
237237
if(keycode <= 0xFFFF)
238-
return (BYTE)keycode;
238+
return static_cast<BYTE>(keycode);
239239
else {
240240
ok = false;
241241
return 0;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy