Commit 4f3576ee authored by Ken Brown's avatar Ken Brown
Browse files

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

parent bde73d27
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,
......
......@@ -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));
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment