Fix another backward memcpy
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@82 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
9fb9a09c83
commit
31a5535de1
@ -306,7 +306,7 @@ int mq_send(mqd_t mqdes, const void *msg, size_t msglen, int prio)
|
||||
|
||||
/* Copy the message data into the message */
|
||||
|
||||
memcpy((void*)msg, (const void*)curr->mail, msglen);
|
||||
memcpy((const void*)curr->mail, (void*)msg, msglen);
|
||||
|
||||
/* Insert the new message in the message queue */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user