aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKen Brown2016-06-13 19:26:05 -0400
committerKen Brown2016-06-13 19:26:05 -0400
commit090fb90d96046d7f9e4d70b9d7b14894e2a187a5 (patch)
tree7ffa8bb646973d81c8c72ea282007c9294c88053 /src
parent981624453913a802c2493741ae73b7e57830aedc (diff)
downloademacs-090fb90d96046d7f9e4d70b9d7b14894e2a187a5.tar.gz
emacs-090fb90d96046d7f9e4d70b9d7b14894e2a187a5.zip
Avoid compiler warning
* src/w32fns.c (deliver_wm_chars): Add 'const' to declaration of 'type_CtrlAlt'.
Diffstat (limited to 'src')
-rw-r--r--src/w32fns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/w32fns.c b/src/w32fns.c
index fa45b4781c1..f2b438cbe0e 100644
--- a/src/w32fns.c
+++ b/src/w32fns.c
@@ -3382,7 +3382,7 @@ deliver_wm_chars (int do_translate, HWND hwnd, UINT msg, UINT wParam,
3382 W32Msg wmsg; 3382 W32Msg wmsg;
3383 DWORD console_modifiers = construct_console_modifiers (); 3383 DWORD console_modifiers = construct_console_modifiers ();
3384 int *b = buf, strip_ExtraMods = 1, hairy = 0; 3384 int *b = buf, strip_ExtraMods = 1, hairy = 0;
3385 char *type_CtrlAlt = NULL; 3385 const char *type_CtrlAlt = NULL;
3386 3386
3387 /* XXXX In fact, there may be another case when we need to do the same: 3387 /* XXXX In fact, there may be another case when we need to do the same:
3388 What happens if the string defined in the LIGATURES has length 3388 What happens if the string defined in the LIGATURES has length