4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-03-02 09:35:28 +08:00

Merge pull request #4361 from enkiller/0220-2042

[ipc] fix IAR Compilation error
This commit is contained in:
Bernard Xiong 2021-02-20 23:02:17 +08:00 committed by GitHub
commit 88d3bb7da5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2203,7 +2203,7 @@ rt_err_t rt_mq_send_wait(rt_mq_t mq,
} }
/* message queue is full */ /* 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 */ /* reset error number in thread */
thread->error = RT_EOK; thread->error = RT_EOK;