aboutsummaryrefslogtreecommitdiffstats
path: root/src/keyboard.c
diff options
context:
space:
mode:
authorKarl Heuer <[email protected]>1995-01-18 20:52:48 +0000
committerKarl Heuer <[email protected]>1995-01-18 20:52:48 +0000
commit0220c51857539b3bf812c3c0948efaa3429c3852 (patch)
tree98f18803cb65ab459c3e4e87b367b4a42da74489 /src/keyboard.c
parentc1d4ff308d5e9d24b4c3cc95b5fa9b3ad4af42a8 (diff)
Change all occurences of SWITCH_ENUM_BUG to use SWITCH_ENUM_CAST instead.
Diffstat (limited to 'src/keyboard.c')
-rw-r--r--src/keyboard.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index 8dde43e59b..e67549c6e8 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -2637,11 +2637,7 @@ make_lispy_event (event)
{
int i;
-#ifdef SWITCH_ENUM_BUG
- switch ((int) event->kind)
-#else
- switch (event->kind)
-#endif
+ switch (SWITCH_ENUM_CAST (event->kind))
{
/* A simple keystroke. */
case ascii_keystroke: