diff options
Diffstat (limited to 'apps/plugins/pdbox/PDa/src/m_obj.c')
-rw-r--r-- | apps/plugins/pdbox/PDa/src/m_obj.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/plugins/pdbox/PDa/src/m_obj.c b/apps/plugins/pdbox/PDa/src/m_obj.c index 994b0bffed..d06caa12fd 100644 --- a/apps/plugins/pdbox/PDa/src/m_obj.c +++ b/apps/plugins/pdbox/PDa/src/m_obj.c | |||
@@ -270,6 +270,8 @@ static int outlet_eventno; | |||
270 | /* set a stack limit (on each incoming event that can set off messages) | 270 | /* set a stack limit (on each incoming event that can set off messages) |
271 | for the outlet functions to check to prevent stack overflow from message | 271 | for the outlet functions to check to prevent stack overflow from message |
272 | recursion */ | 272 | recursion */ |
273 | #pragma GCC diagnostic push | ||
274 | #pragma GCC diagnostic ignored "-Warray-bounds" | ||
273 | void outlet_setstacklim(void) | 275 | void outlet_setstacklim(void) |
274 | { | 276 | { |
275 | char c; | 277 | char c; |
@@ -277,6 +279,7 @@ void outlet_setstacklim(void) | |||
277 | stacklimit = (&c) - STACKSIZE; | 279 | stacklimit = (&c) - STACKSIZE; |
278 | outlet_eventno++; | 280 | outlet_eventno++; |
279 | } | 281 | } |
282 | #pragma GCC diagnostic pop | ||
280 | 283 | ||
281 | /* get a number unique to the (clock, MIDI, GUI, etc.) event we're on */ | 284 | /* get a number unique to the (clock, MIDI, GUI, etc.) event we're on */ |
282 | int sched_geteventno( void) | 285 | int sched_geteventno( void) |