mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-10-06 10:59:48 +08:00
testsuites/unit/tc-score-msgq.c: Fix enum conversion warnings
The GCC warning -Wenum-conversion flagged the call to _Core_message_queue_Submit() as returning a Status_Control but the caller assigned it to a variable of type rtems_status_code.
This commit is contained in:
committed by
Gedare Bloom
parent
c9297992a2
commit
75df51e7fd
@@ -163,7 +163,7 @@ static rtems_status_code SubmitMessage(
|
||||
unsigned int posix_piority
|
||||
)
|
||||
{
|
||||
rtems_status_code status;
|
||||
Status_Control status;
|
||||
Thread_queue_Context queue_context;
|
||||
Message_queue_Control *the_message_queue;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user