Skip to content

Commit 53745ba

Browse files
authored
Merge pull request #46 from Shatur95/fix-implicit-conversion-warning
Fix implicit conversion warning
2 parents bd35d8b + b73b495 commit 53745ba

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
@@ -71,7 +71,7 @@ quint32 QHotkeyPrivateWin::nativeKeycode(Qt::Key keycode, bool &ok)
7171
{
7272
ok = true;
7373
if(keycode <= 0xFFFF) {//Try to obtain the key from it's "character"
74-
const SHORT vKey = VkKeyScanW(keycode);
74+
const SHORT vKey = VkKeyScanW(static_cast<WCHAR>(keycode));
7575
if(vKey > -1)
7676
return LOBYTE(vKey);
7777
}

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