changeset 46469:19db29628f09

(cmd_error_internal): Use const for pointer to lisp string data.
author Ken Raeburn <raeburn@raeburn.org>
date Tue, 16 Jul 2002 19:48:34 +0000
parents 9648dbb4974e
children 00b425333e0d
files src/keyboard.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/keyboard.c	Tue Jul 16 19:48:28 2002 +0000
+++ b/src/keyboard.c	Tue Jul 16 19:48:34 2002 +0000
@@ -1209,7 +1209,7 @@
 	 *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;