summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/src/eventmp.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1996-12-02 22:50:33 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1996-12-02 22:50:33 +0000
commitffe316d5267c5e7ce99685be45efc9308b041dc6 (patch)
tree35cf4feefc6218fed328a2d13346ecbf1792245c /cpukit/rtems/src/eventmp.c
parentChanges to reflect new revision of erc32 per Jiri Gaisler's suggestions. (diff)
downloadrtems-ffe316d5267c5e7ce99685be45efc9308b041dc6.tar.bz2
Suggested changes from Mark Jordan which eliminate warnings and errors
he received using the Microtec C++ compiler. Most of these are either missing casts from/to (void *), heavy handed use of enumerated types, or simply assumed conversions. There is at least one actual bug in an error path in thread.c in which the wrong argument was passed to _Thread_Stack_Free and was not being caught by gcc.
Diffstat (limited to 'cpukit/rtems/src/eventmp.c')
-rw-r--r--cpukit/rtems/src/eventmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/rtems/src/eventmp.c b/cpukit/rtems/src/eventmp.c
index 30cd1166c6..7d0996f6f6 100644
--- a/cpukit/rtems/src/eventmp.c
+++ b/cpukit/rtems/src/eventmp.c
@@ -58,7 +58,7 @@ rtems_status_code _Event_MP_Send_request_packet (
the_packet->Prefix.id = event_id;
the_packet->event_in = event_in;
- return
+ return (rtems_status_code)
_MPCI_Send_request_packet(
rtems_get_node( event_id ),
&the_packet->Prefix,