changeset 46470:00b425333e0d

(Fdescribe_buffer_bindings): Use const for pointer to lisp string data.
author Ken Raeburn <raeburn@raeburn.org>
date Tue, 16 Jul 2002 19:48:37 +0000
parents 19db29628f09
children 028a5b2de9e4
files src/keymap.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/keymap.c	Tue Jul 16 19:48:34 2002 +0000
+++ b/src/keymap.c	Tue Jul 16 19:48:37 2002 +0000
@@ -2659,7 +2659,7 @@
   if (STRINGP (Vkeyboard_translate_table) && !NILP (prefix))
     {
       int c;
-      unsigned char *translate = SDATA (Vkeyboard_translate_table);
+      const unsigned char *translate = SDATA (Vkeyboard_translate_table);
       int translate_len = SCHARS (Vkeyboard_translate_table);
 
       for (c = 0; c < translate_len; c++)