From a761495bb1e5ffb3c3f657f03f45204147997b08 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Sat, 3 Jun 2006 00:33:10 +0000 Subject: 2006-06-02 Joel Sherrill * itron/src/trcv_mbf.c, posix/src/semopen.c, rtems/src/taskvariableadd.c, score/macros/rtems/score/heap.inl: Fix warnings. --- cpukit/itron/src/trcv_mbf.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'cpukit/itron/src') diff --git a/cpukit/itron/src/trcv_mbf.c b/cpukit/itron/src/trcv_mbf.c index 9e05334433..aee0a8661b 100644 --- a/cpukit/itron/src/trcv_mbf.c +++ b/cpukit/itron/src/trcv_mbf.c @@ -36,6 +36,7 @@ ER trcv_mbf( CORE_message_queue_Status status; boolean wait; Watchdog_Interval interval; + uint32_t msgsz; interval = 0; if (tmout == TMO_POL) { @@ -63,11 +64,12 @@ ER trcv_mbf( &the_message_buffer->message_queue, the_message_buffer->Object.id, msg, - p_msgsz, + &msgsz, wait, interval ); _Thread_Enable_dispatch(); + *p_msgsz = msgsz; status = (CORE_message_queue_Status)_Thread_Executing->Wait.return_code; return _ITRON_Message_buffer_Translate_core_message_buffer_return_code(status); -- cgit v1.2.3