changeset 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 b2b747edcf7e
children fc94b78905ae
files src/w32term.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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