diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-02-21 14:58:23 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-02-21 14:58:23 +0000 |
commit | 4075c6d02a53e85132e262c53a6ba21c7bdd0bdd (patch) | |
tree | 72fcf7fcd461649de82947238f4f1823996e346a /cpukit | |
parent | Preps for gcc-4.1.2. (diff) | |
download | rtems-4075c6d02a53e85132e262c53a6ba21c7bdd0bdd.tar.bz2 |
2007-02-21 Joel Sherrill <joel@OARcorp.com>
* score/src/coremsgsubmit.c: Use Wait.option to avoid cast.
Diffstat (limited to 'cpukit')
-rw-r--r-- | cpukit/ChangeLog | 4 | ||||
-rw-r--r-- | cpukit/score/src/coremsgsubmit.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 72909922d8..4fd909f2de 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,7 @@ +2007-02-21 Joel Sherrill <joel@OARcorp.com> + + * score/src/coremsgsubmit.c: Use Wait.option to avoid cast. + 2007-02-11 Ralf Corsepius <ralf.corsepius@rtems.org> * score/include/rtems/score/heap.h, score/src/heap.c, diff --git a/cpukit/score/src/coremsgsubmit.c b/cpukit/score/src/coremsgsubmit.c index a1ac6d5b87..2f1ea815ca 100644 --- a/cpukit/score/src/coremsgsubmit.c +++ b/cpukit/score/src/coremsgsubmit.c @@ -88,7 +88,7 @@ CORE_message_queue_Status _CORE_message_queue_Submit( the_thread->Wait.return_argument, size ); - *(uint32_t *)the_thread->Wait.return_argument_1 = size; + *(size_t *)the_thread->Wait.return_argument_1 = size; the_thread->Wait.count = submit_type; #if defined(RTEMS_MULTIPROCESSING) @@ -168,7 +168,7 @@ CORE_message_queue_Status _CORE_message_queue_Submit( executing->Wait.queue = &the_message_queue->Wait_queue; executing->Wait.id = id; executing->Wait.return_argument = buffer; - executing->Wait.return_argument_1 = (void *)size; + executing->Wait.option = size; executing->Wait.count = submit_type; _ISR_Enable( level ); |