aboutsummaryrefslogtreecommitdiffstats
path: root/src/keyboard.c
diff options
context:
space:
mode:
authorKarl Heuer <[email protected]>1994-10-29 18:33:48 +0000
committerKarl Heuer <[email protected]>1994-10-29 18:33:48 +0000
commitf3e59d5e1aeab604997c5064503ac4cd0c3aa03f (patch)
tree9e069be4bcf1bb1538ccd76088ab4055fde461e1 /src/keyboard.c
parent8dbeb3537214a4377f1157ceae5738427f69f78e (diff)
(read_avail_input): Fix Lisp_Object vs. int problem.
Diffstat (limited to 'src/keyboard.c')
-rw-r--r--src/keyboard.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index 35e48548c6..b82e4e3dc0 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -3672,8 +3672,8 @@ read_avail_input (expected)
buf[i].modifiers = meta_modifier;
if (meta_key != 2)
cbuf[i] &= ~0x80;
-
- XSETINT (buf[i].code, cbuf[i]);
+
+ buf[i].code = cbuf[i];
#ifdef MULTI_FRAME
XSETFRAME (buf[i].frame_or_window, selected_frame);
#else