2003-10-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>

* src/coremsgseize.c, src/coremsgsubmit.c:
	Remove unnecessary typecasts in assignments to
	thread->Wait.return_argument.
This commit is contained in:
Ralf Corsepius
2003-10-21 14:20:05 +00:00
parent 0c8d752918
commit 91e46776a7
3 changed files with 8 additions and 2 deletions

View File

@@ -1,3 +1,9 @@
2003-10-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* src/coremsgseize.c, src/coremsgsubmit.c:
Remove unnecessary typecasts in assignments to
thread->Wait.return_argument.
2003-10-02 Phil Torre <ptorre@zetron.com>
PR 504/rtems

View File

@@ -127,7 +127,7 @@ void _CORE_message_queue_Seize(
_Thread_queue_Enter_critical_section( &the_message_queue->Wait_queue );
executing->Wait.queue = &the_message_queue->Wait_queue;
executing->Wait.id = id;
executing->Wait.return_argument = (void *)buffer;
executing->Wait.return_argument = buffer;
executing->Wait.return_argument_1 = (void *)size;
/* Wait.count will be filled in with the message priority */
_ISR_Enable( level );

View File

@@ -163,7 +163,7 @@ CORE_message_queue_Status _CORE_message_queue_Submit(
_Thread_queue_Enter_critical_section( &the_message_queue->Wait_queue );
executing->Wait.queue = &the_message_queue->Wait_queue;
executing->Wait.id = id;
executing->Wait.return_argument = (void *)buffer;
executing->Wait.return_argument = buffer;
executing->Wait.return_argument_1 = (void *)size;
executing->Wait.count = submit_type;
_ISR_Enable( level );