From: Jason Rumney Date: Sun, 21 Jun 2009 13:27:41 +0000 (+0000) Subject: (w32_initialize): Add necessary casts to last change. X-Git-Tag: emacs-pretest-23.0.96~88 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1cfa150e9357b6629cf07e91225c59008561ca47;p=emacs.git (w32_initialize): Add necessary casts to last change. --- diff --git a/src/w32term.c b/src/w32term.c index b24da6cad5e..f96a60d777f 100644 --- a/src/w32term.c +++ b/src/w32term.c @@ -6361,8 +6361,8 @@ w32_initialize () Fset_input_mode (Qnil, Qnil, make_number (2), Qnil); { - HKL input_locale_id = GetKeyboardLayout (0); - keyboard_codepage = codepage_for_locale (input_locale_id & 0xffff); + DWORD input_locale_id = (DWORD) GetKeyboardLayout (0); + keyboard_codepage = codepage_for_locale ((LCID) (input_locale_id & 0xffff)); } /* Create the window thread - it will terminate itself when the app