Skip to content

Commit be864bc

Browse files
committed
[ipc] fix IAR Compilation error
1 parent 3b00393 commit be864bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ipc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2203,7 +2203,7 @@ rt_err_t rt_mq_send_wait(rt_mq_t mq,
22032203
}
22042204

22052205
/* message queue is full */
2206-
while ((msg = mq->msg_queue_free) == RT_NULL)
2206+
while ((msg = (struct rt_mq_message *)mq->msg_queue_free) == RT_NULL)
22072207
{
22082208
/* reset error number in thread */
22092209
thread->error = RT_EOK;

0 commit comments

Comments
 (0)