diff options
| author | Jason Rumney | 2009-06-21 13:16:21 +0000 |
|---|---|---|
| committer | Jason Rumney | 2009-06-21 13:16:21 +0000 |
| commit | 46534e1efb5818f4cadd94128022509b5d916ded (patch) | |
| tree | 9b52ab0fd2d777c5e8ef908bd003cb6828f58fba /src | |
| parent | 91239a5211ed6aa0b6278078c456b85d3ae9afb4 (diff) | |
| download | emacs-46534e1efb5818f4cadd94128022509b5d916ded.tar.gz emacs-46534e1efb5818f4cadd94128022509b5d916ded.zip | |
(w32_initialize): Add necessary casts to last change.
Diffstat (limited to 'src')
| -rw-r--r-- | src/w32term.c | 4 |
1 files 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 () | |||
| 6361 | Fset_input_mode (Qnil, Qnil, make_number (2), Qnil); | 6361 | Fset_input_mode (Qnil, Qnil, make_number (2), Qnil); |
| 6362 | 6362 | ||
| 6363 | { | 6363 | { |
| 6364 | HKL input_locale_id = GetKeyboardLayout (0); | 6364 | DWORD input_locale_id = (DWORD) GetKeyboardLayout (0); |
| 6365 | keyboard_codepage = codepage_for_locale (input_locale_id & 0xffff); | 6365 | keyboard_codepage = codepage_for_locale ((LCID) (input_locale_id & 0xffff)); |
| 6366 | } | 6366 | } |
| 6367 | 6367 | ||
| 6368 | /* Create the window thread - it will terminate itself when the app | 6368 | /* Create the window thread - it will terminate itself when the app |