* src/w32term.c (w32_initialize): Silence compiler warning.

This commit is contained in:
Ken Brown 2013-03-23 20:16:11 -04:00
parent bde73d2720
commit 4f3576ee21
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2013-03-24 Ken Brown <kbrown@cornell.edu>
* w32term.c (w32_initialize): Silence compiler warning.
2013-03-23 Eli Zaretskii <eliz@gnu.org>
* w32term.c (w32fullscreen_hook): Use FRAME_NORMAL_WIDTH,

View file

@ -6662,7 +6662,7 @@ w32_initialize (void)
Fset_input_mode (Qnil, Qnil, make_number (2), Qnil);
{
DWORD input_locale_id = (DWORD) GetKeyboardLayout (0);
DWORD input_locale_id = ((DWORD_PTR) GetKeyboardLayout (0) & 0xffffffff);
w32_keyboard_codepage =
codepage_for_locale ((LCID) (input_locale_id & 0xffff));
}