Skip to content
Snippets Groups Projects
Commit 31a5535d authored by patacongo's avatar patacongo
Browse files

Fix another backward memcpy

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@82 42af7a65-404d-4744-a932-0658087f49c3
parent 9fb9a09c
No related branches found
No related tags found
No related merge requests found
......@@ -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 */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment