diff options
author | rubidium <rubidium@openttd.org> | 2013-11-16 10:05:57 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2013-11-16 10:05:57 +0000 |
commit | 3b9f92e14cab0cb08697646d917af81f47144854 (patch) | |
tree | 71dfe96f9c1ae8957b5445c89c3136afe69c4aeb | |
parent | b934e528d9994d730b1df6edcb4341e946e47791 (diff) | |
download | openttd-3b9f92e14cab0cb08697646d917af81f47144854.tar.xz |
(svn r26009) -Fix: warning about conditional expression with enumeral with non-enumeral type
-rw-r--r-- | src/video/win32_v.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video/win32_v.cpp b/src/video/win32_v.cpp index 2e7b40902..4ea774854 100644 --- a/src/video/win32_v.cpp +++ b/src/video/win32_v.cpp @@ -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; |