diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-03-17 22:40:30 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-03-17 22:40:30 +0000 |
commit | e6068ca6be7548b9dd3cfbd7da0f9efaba633f28 (patch) | |
tree | b51732dda8293f5d71a383d9c63a39fcf54a7d59 /nuttx/sched | |
parent | e9faebc794c798462a34d5fae9c922d46e95a374 (diff) | |
download | px4-nuttx-e6068ca6be7548b9dd3cfbd7da0f9efaba633f28.tar.gz px4-nuttx-e6068ca6be7548b9dd3cfbd7da0f9efaba633f28.tar.bz2 px4-nuttx-e6068ca6be7548b9dd3cfbd7da0f9efaba633f28.zip |
Fix another backward memcpy
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@82 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/sched')
-rw-r--r-- | nuttx/sched/mq_send.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/sched/mq_send.c b/nuttx/sched/mq_send.c index 92400d9c4..a0172a154 100644 --- a/nuttx/sched/mq_send.c +++ b/nuttx/sched/mq_send.c @@ -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 */ |