diff options
| author | Eli Zaretskii | 2013-12-17 19:46:31 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2013-12-17 19:46:31 +0200 |
| commit | af025ae850c8f30431cf79876c4452d9f1679250 (patch) | |
| tree | 708b8ba45eaffd8e9b3b28d7dec0192d2a517bd7 /src/w32term.c | |
| parent | cf2b7efc78f0004a58b14a1eb470a306a139197d (diff) | |
| download | emacs-af025ae850c8f30431cf79876c4452d9f1679250.tar.gz emacs-af025ae850c8f30431cf79876c4452d9f1679250.zip | |
Fix some warnings in w32 specific code.
src/w32term.c (w32_initialize): Declare the argument of
set_user_model as const.
src/w32menu.c <MessageBoxW_Proc>: Fix argument declarations.
(w32_menu_show): Constify some arguments passed to MessageBox.
src/w32uniscribe.c (uniscribe_font_driver): Use LISP_INITIALLY_ZERO
to initialize Lisp objects.
src/w32font.c (w32font_driver): Use LISP_INITIALLY_ZERO to
initialize Lisp objects.
src/frame.c (x_set_frame_parameters) [HAVE_X_WINDOWS]: Declare and
use variables used only on X under that condition.
src/fileio.c (Fcopy_file) [!WINDOWSNT]: Don't declare on Windows
variables not used there.
Diffstat (limited to 'src/w32term.c')
| -rw-r--r-- | src/w32term.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/w32term.c b/src/w32term.c index 0a8dbb39f7b..a66aca1e846 100644 --- a/src/w32term.c +++ b/src/w32term.c | |||
| @@ -6468,7 +6468,7 @@ static void | |||
| 6468 | w32_initialize (void) | 6468 | w32_initialize (void) |
| 6469 | { | 6469 | { |
| 6470 | HANDLE shell; | 6470 | HANDLE shell; |
| 6471 | HRESULT (WINAPI * set_user_model) (wchar_t * id); | 6471 | HRESULT (WINAPI * set_user_model) (const wchar_t * id); |
| 6472 | 6472 | ||
| 6473 | baud_rate = 19200; | 6473 | baud_rate = 19200; |
| 6474 | 6474 | ||