diff options
author | Karl Heuer <[email protected]> | 1995-01-18 20:52:48 +0000 |
---|---|---|
committer | Karl Heuer <[email protected]> | 1995-01-18 20:52:48 +0000 |
commit | 0220c51857539b3bf812c3c0948efaa3429c3852 (patch) | |
tree | 98f18803cb65ab459c3e4e87b367b4a42da74489 /src/keyboard.c | |
parent | c1d4ff308d5e9d24b4c3cc95b5fa9b3ad4af42a8 (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.c | 6 |
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: |