summaryrefslogtreecommitdiff
path: root/src/ipc.c
diff options
context:
space:
mode:
authorMeco Jianting Man <[email protected]>2021-02-24 08:01:14 -0600
committerGitHub <[email protected]>2021-02-24 08:01:14 -0600
commitbc28df8b350f2118f418b966df0843c7f2c02496 (patch)
tree9267ab1048a7fa769ccb2af8c074fb06907d3b77 /src/ipc.c
parentc21f018b4a6ea88e1cbec86514056629a25ccb67 (diff)
parentaaf4696c87514fe14d6da2b502b26ecc1feb2806 (diff)
Merge pull request #20 from RT-Thread/master
pr
Diffstat (limited to 'src/ipc.c')
-rwxr-xr-xsrc/ipc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipc.c b/src/ipc.c
index d037708979..37b05b9ae3 100755
--- a/src/ipc.c
+++ b/src/ipc.c
@@ -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;