Make debug build nearly warning free in MSVC 2015

This commit is contained in:
Henrik Rydgard committed 2015-09-17 22:02:15 +02:00
1 parent a71fbccfbc
commit 3232e46c36
23 files changed
+828 -833

No files matched your search

+1 -1
View File
@@ -365,7 +365,7 @@ void SetDefaultKeyMap(DefaultMaps dmap, bool replace) {
#elif defined(_WIN32) && !defined(_XBOX)
HKL localeId = GetKeyboardLayout(0);
// TODO: Is this list complete enough?
switch ((int)localeId & 0xFFFF) {
switch ((int)(intptr_t)localeId & 0xFFFF) {
case 0x407:
qwertz = true;
break;