From 5b875915152a248079855bcb98e871f70ac314cc Mon Sep 17 00:00:00 2001 From: Ryan Long Date: Tue, 16 Aug 2022 12:00:26 -0500 Subject: schedulerpriority.h: Fix gcc 12 warning Changed the size of the array to 1 to get rid of the warning. Updates #4662 --- cpukit/include/rtems/score/schedulerpriority.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpukit/include') diff --git a/cpukit/include/rtems/score/schedulerpriority.h b/cpukit/include/rtems/score/schedulerpriority.h index cf5d0762a9..e485e97c60 100644 --- a/cpukit/include/rtems/score/schedulerpriority.h +++ b/cpukit/include/rtems/score/schedulerpriority.h @@ -94,7 +94,7 @@ typedef struct { /** * @brief One ready queue per priority level. */ - Chain_Control Ready[ 0 ]; + Chain_Control Ready[ 1 ]; } Scheduler_priority_Context; /** -- cgit v1.2.3