From 1cfa150e9357b6629cf07e91225c59008561ca47 Mon Sep 17 00:00:00 2001 From: Jason Rumney Date: Sun, 21 Jun 2009 13:27:41 +0000 Subject: [PATCH] (w32_initialize): Add necessary casts to last change. --- src/w32term.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.2