Make debug build nearly warning free in MSVC 2015

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

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;