Avoid compiler warning

* src/w32fns.c (deliver_wm_chars): Add 'const' to declaration of
'type_CtrlAlt'.
This commit is contained in:
Ken Brown 2016-06-13 19:26:05 -04:00
parent 9816244539
commit 090fb90d96

View file

@ -3382,7 +3382,7 @@ deliver_wm_chars (int do_translate, HWND hwnd, UINT msg, UINT wParam,
W32Msg wmsg;
DWORD console_modifiers = construct_console_modifiers ();
int *b = buf, strip_ExtraMods = 1, hairy = 0;
char *type_CtrlAlt = NULL;
const char *type_CtrlAlt = NULL;
/* XXXX In fact, there may be another case when we need to do the same:
What happens if the string defined in the LIGATURES has length