summaryrefslogtreecommitdiffstats
path: root/apps/plugins/pdbox
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/pdbox')
-rw-r--r--apps/plugins/pdbox/PDa/src/m_obj.c3
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;
/* set a stack limit (on each incoming event that can set off messages)
for the outlet functions to check to prevent stack overflow from message
recursion */
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Warray-bounds"
void outlet_setstacklim(void)
{
char c;
@@ -277,6 +279,7 @@ void outlet_setstacklim(void)
stacklimit = (&c) - STACKSIZE;
outlet_eventno++;
}
+#pragma GCC diagnostic pop
/* get a number unique to the (clock, MIDI, GUI, etc.) event we're on */
int sched_geteventno( void)