diff options
| author | Richard M. Stallman | 1995-12-23 07:46:41 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-12-23 07:46:41 +0000 |
| commit | af39ac8ca3b8d31f7e17667d0f0905214c970e96 (patch) | |
| tree | 82e2a87667c1fa1f7a49aed98724193b710b2576 /src/cmds.c | |
| parent | 6737ae742598060612b238140e9e6bd7c616154f (diff) | |
| download | emacs-af39ac8ca3b8d31f7e17667d0f0905214c970e96.tar.gz emacs-af39ac8ca3b8d31f7e17667d0f0905214c970e96.zip | |
(internal_self_insert): Declare arg c1 as unsigned char.
Diffstat (limited to 'src/cmds.c')
| -rw-r--r-- | src/cmds.c | 5 |
1 files changed, 4 insertions, 1 deletions
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.") | |||
| 252 | A value of 2 means this did things that call for an undo boundary. */ | 252 | A value of 2 means this did things that call for an undo boundary. */ |
| 253 | 253 | ||
| 254 | internal_self_insert (c1, noautofill) | 254 | internal_self_insert (c1, noautofill) |
| 255 | char c1; | 255 | /* This has to be unsigned char; when it is char, |
| 256 | some compilers sign-extend it in SYNTAX_ENTRY, despite | ||
| 257 | the casts to unsigned char there. */ | ||
| 258 | unsigned char c1; | ||
| 256 | int noautofill; | 259 | int noautofill; |
| 257 | { | 260 | { |
| 258 | extern Lisp_Object Fexpand_abbrev (); | 261 | extern Lisp_Object Fexpand_abbrev (); |