2008-09-08 Joel Sherrill <joel.sherrill@oarcorp.com>

* mp09/recvmsg.c, mp09/task1.c, mp10/task1.c, mp13/task1.c,
	mp14/msgtask1.c: Correct types to eliminate warnings.
This commit is contained in:
Joel Sherrill
2008-09-08 15:25:08 +00:00
parent a5b6cdda58
commit 5265a27fa2
6 changed files with 20 additions and 15 deletions

View File

@@ -25,7 +25,7 @@ rtems_task Test_task1(
)
{
char receive_buffer[16];
uint32_t size;
size_t size;
rtems_status_code status;
puts( "Getting QID of message queue" );
@@ -41,7 +41,7 @@ rtems_task Test_task1(
puts( "Attempting to receive message ..." );
status = rtems_message_queue_receive(
Queue_id[ 1 ],
(long (*)[4])receive_buffer,
receive_buffer,
&size,
RTEMS_DEFAULT_OPTIONS,
RTEMS_NO_TIMEOUT