From: Ken Brown Date: Mon, 13 Jun 2016 23:26:05 +0000 (-0400) Subject: Avoid compiler warning X-Git-Url: https://code.delx.au/gnu-emacs/commitdiff_plain/090fb90d96046d7f9e4d70b9d7b14894e2a187a5 Avoid compiler warning * src/w32fns.c (deliver_wm_chars): Add 'const' to declaration of 'type_CtrlAlt'. --- diff --git a/src/w32fns.c b/src/w32fns.c index fa45b4781c..f2b438cbe0 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, 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