From 91befd0e2c6938fc3b94a706613ddfbae94a43f8 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Tue, 16 Jul 2002 19:48:34 +0000 Subject: [PATCH] (cmd_error_internal): Use const for pointer to lisp string data. --- src/keyboard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/keyboard.c b/src/keyboard.c index 14f21cbe12b..db4ebd1635f 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -1209,7 +1209,7 @@ cmd_error_internal (data, context) *Messages*. */ if (!NILP (Vsignaling_function) && SYMBOLP (Vsignaling_function)) { - char *name = SDATA (SYMBOL_NAME (Vsignaling_function)); + const char *name = SDATA (SYMBOL_NAME (Vsignaling_function)); message_dolog (name, strlen (name), 0, 0); message_dolog (": ", 2, 0, 0); Vsignaling_function = Qnil; -- 2.39.5