From: Richard M. Stallman Date: Sat, 23 Dec 1995 07:46:41 +0000 (+0000) Subject: (internal_self_insert): Declare arg c1 as unsigned char. X-Git-Tag: emacs-19.34~2035 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=af39ac8ca3b8d31f7e17667d0f0905214c970e96;p=emacs.git (internal_self_insert): Declare arg c1 as unsigned char. --- 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 ();