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:
patacongo 2007-03-17 22:40:30 +00:00
parent 9fb9a09c83
commit 31a5535de1

View File

@ -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 */