[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 090fb90: Avoid compiler warning

From: Ken Brown
Subject: [Emacs-diffs] master 090fb90: Avoid compiler warning
Date: Mon, 13 Jun 2016 23:38:17 +0000 (UTC)

branch: master
commit 090fb90d96046d7f9e4d70b9d7b14894e2a187a5
Author: Ken Brown <address@hidden>
Commit: Ken Brown <address@hidden>

    Avoid compiler warning
    * src/w32fns.c (deliver_wm_chars): Add 'const' to declaration of
 src/w32fns.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/w32fns.c b/src/w32fns.c
index fa45b47..f2b438c 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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]