[ipc] fix IAR Compilation error

This commit is contained in:
tangyuxin 2021-02-20 20:44:46 +08:00
parent 3b003937e8
commit be864bcdd1
1 changed files with 1 additions and 1 deletions

View File

@ -2203,7 +2203,7 @@ rt_err_t rt_mq_send_wait(rt_mq_t mq,
}
/* message queue is full */
while ((msg = mq->msg_queue_free) == RT_NULL)
while ((msg = (struct rt_mq_message *)mq->msg_queue_free) == RT_NULL)
{
/* reset error number in thread */
thread->error = RT_EOK;