From af39ac8ca3b8d31f7e17667d0f0905214c970e96 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 23 Dec 1995 07:46:41 +0000 Subject: [PATCH] (internal_self_insert): Declare arg c1 as unsigned char. --- src/cmds.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/cmds.c b/src/cmds.c index 6fdf3f4b21c..863988b98e0 100644 --- a/src/cmds.c +++ b/src/cmds.c @@ -252,7 +252,10 @@ Whichever character you type to run this command is inserted.") 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 (); -- 2.39.2