From b41a5039f1ee16ddbcb5cbef63d5ba9abf802834 Mon Sep 17 00:00:00 2001 From: teor Date: Sun, 22 Mar 2015 14:25:42 +1100 Subject: Compile-time check that control_event_t.event_mask is big enough Add a compile-time check that the number of events doesn't exceed the capacity of control_event_t.event_mask. --- changes/ticket15431 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'changes') diff --git a/changes/ticket15431 b/changes/ticket15431 index e35bab6e85..ea6821afdf 100644 --- a/changes/ticket15431 +++ b/changes/ticket15431 @@ -1,4 +1,6 @@ o Minor features (testing): - Add unit tests for control_event_is_interesting(). - Part of ticket 15431, checks for bugs similar to 13085. + Add a compile-time check that the number of events doesn't exceed + the capacity of control_event_t.event_mask. + Closes ticket 15431, checks for bugs similar to 13085. Patch by "teor". -- cgit v1.2.3-54-g00ecf