From 75df51e7fddd03aa91952d758cf2cae8b6eaf323 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 13 Nov 2025 11:37:14 -0600 Subject: [PATCH] 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. --- testsuites/unit/tc-score-msgq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testsuites/unit/tc-score-msgq.c b/testsuites/unit/tc-score-msgq.c index 16e49b080d..abf276fe7e 100644 --- a/testsuites/unit/tc-score-msgq.c +++ b/testsuites/unit/tc-score-msgq.c @@ -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;