diff src/w32term.c @ 103505:b1792516bf99

(w32_initialize): Add necessary casts to last change.
author Jason Rumney <jasonr@gnu.org>
date Sun, 21 Jun 2009 13:16:21 +0000
parents d0e3ea40717c
children 9c0aa5262fc9
line wrap: on
line diff
--- a/src/w32term.c	Sun Jun 21 12:08:53 2009 +0000
+++ b/src/w32term.c	Sun Jun 21 13:16:21 2009 +0000
@@ -6361,8 +6361,8 @@
   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