# HG changeset patch # User Richard M. Stallman # Date 819704801 0 # Node ID dc1c03408169273d4e5ad6cfeffba0cdc315eff7 # Parent 88384034a5b48daa2a2a29308d1979e80b0cd0e2 (internal_self_insert): Declare arg c1 as unsigned char. diff -r 88384034a5b4 -r dc1c03408169 src/cmds.c --- 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 ();