emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs/src w32term.c


From: Jason Rumney
Subject: [Emacs-diffs] emacs/src w32term.c
Date: Sun, 21 Jun 2009 13:16:22 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Jason Rumney <jasonr>   09/06/21 13:16:21

Modified files:
        src            : w32term.c 

Log message:
        (w32_initialize): Add necessary casts to last change.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/src/w32term.c?cvsroot=emacs&r1=1.325&r2=1.326

Patches:
Index: w32term.c
===================================================================
RCS file: /sources/emacs/emacs/src/w32term.c,v
retrieving revision 1.325
retrieving revision 1.326
diff -u -b -r1.325 -r1.326
--- w32term.c   21 Jun 2009 03:34:20 -0000      1.325
+++ w32term.c   21 Jun 2009 13:16:21 -0000      1.326
@@ -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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]