diff options
Diffstat (limited to 'src/print.c')
| -rw-r--r-- | src/print.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/print.c b/src/print.c index 63ef3e6279e..f3302daaea3 100644 --- a/src/print.c +++ b/src/print.c | |||
| @@ -716,8 +716,8 @@ You can call print while debugging emacs, and pass it this function | |||
| 716 | to make it write to the debugging output. */) | 716 | to make it write to the debugging output. */) |
| 717 | (Lisp_Object character) | 717 | (Lisp_Object character) |
| 718 | { | 718 | { |
| 719 | CHECK_CHARACTER (character); | 719 | CHECK_NUMBER (character); |
| 720 | putc ((int) XINT (character), stderr); | 720 | putc (XINT (character) & 0xFF, stderr); |
| 721 | 721 | ||
| 722 | #ifdef WINDOWSNT | 722 | #ifdef WINDOWSNT |
| 723 | /* Send the output to a debugger (nothing happens if there isn't one). */ | 723 | /* Send the output to a debugger (nothing happens if there isn't one). */ |