changeset 13825:dc1c03408169

(internal_self_insert): Declare arg c1 as unsigned char.
author Richard M. Stallman <rms@gnu.org>
date Sat, 23 Dec 1995 07:46:41 +0000
parents 88384034a5b4
children cbe1d1a07eb2
files src/cmds.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/cmds.c	Sat Dec 23 07:42:36 1995 +0000
+++ b/src/cmds.c	Sat Dec 23 07:46:41 1995 +0000
@@ -252,7 +252,10 @@
    A value of 2 means this did things that call for an undo boundary.  */
 
 internal_self_insert (c1, noautofill)
-     char c1;
+     /* This has to be unsigned char; when it is char,
+	some compilers sign-extend it in SYNTAX_ENTRY, despite
+	the casts to unsigned char there.  */
+     unsigned char c1;
      int noautofill;
 {
   extern Lisp_Object Fexpand_abbrev ();