summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems
diff options
context:
space:
mode:
authorRyan Long <ryan.long@oarcorp.com>2022-08-16 12:00:26 -0500
committerJoel Sherrill <joel@rtems.org>2022-08-19 15:34:47 -0500
commit5b875915152a248079855bcb98e871f70ac314cc (patch)
tree9d5155c98869bd72f35ad0945b2c336d80ae1154 /cpukit/include/rtems
parentpercpu.h: Add pragma for gcc 12 warning (diff)
downloadrtems-5b875915152a248079855bcb98e871f70ac314cc.tar.bz2
schedulerpriority.h: Fix gcc 12 warning
Changed the size of the array to 1 to get rid of the warning. Updates #4662
Diffstat (limited to 'cpukit/include/rtems')
-rw-r--r--cpukit/include/rtems/score/schedulerpriority.h2
1 files changed, 1 insertions, 1 deletions
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;
/**