diff options
Diffstat (limited to 'src/keyboard.h')
| -rw-r--r-- | src/keyboard.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/keyboard.h b/src/keyboard.h index c7ae1f7f0fa..387501c9f88 100644 --- a/src/keyboard.h +++ b/src/keyboard.h | |||
| @@ -497,8 +497,8 @@ INLINE void | |||
| 497 | kbd_buffer_store_event_hold (struct input_event *event, | 497 | kbd_buffer_store_event_hold (struct input_event *event, |
| 498 | struct input_event *hold_quit) | 498 | struct input_event *hold_quit) |
| 499 | { | 499 | { |
| 500 | verify (alignof (struct input_event) == alignof (union buffered_input_event) | 500 | static_assert (alignof (struct input_event) == alignof (union buffered_input_event) |
| 501 | && sizeof (struct input_event) == sizeof (union buffered_input_event)); | 501 | && sizeof (struct input_event) == sizeof (union buffered_input_event)); |
| 502 | kbd_buffer_store_buffered_event ((union buffered_input_event *) event, | 502 | kbd_buffer_store_buffered_event ((union buffered_input_event *) event, |
| 503 | hold_quit); | 503 | hold_quit); |
| 504 | } | 504 | } |