(svn r26009) -Fix: warning about conditional expression with enumeral with non-enumeral type

This commit is contained in:
rubidium 2013-11-16 10:05:57 +00:00
parent b934e528d9
commit 3b9f92e14c
1 changed files with 1 additions and 1 deletions

View File

@ -852,7 +852,7 @@ static LRESULT CALLBACK WndProcGdi(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lP
case WM_KEYDOWN: {
/* No matter the keyboard layout, we will map the '~' to the console. */
uint scancode = GB(lParam, 16, 8);
keycode = scancode == 41 ? WKC_BACKQUOTE : MapWindowsKey(wParam);
keycode = scancode == 41 ? (uint)WKC_BACKQUOTE : MapWindowsKey(wParam);
/* Silently drop all messages handled by WM_CHAR. */
MSG msg;