summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/src/intr.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/intr.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/intr.c')
-rw-r--r--cpukit/rtems/src/intr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/rtems/src/intr.c b/cpukit/rtems/src/intr.c
index 8ec880ee99..c2da423986 100644
--- a/cpukit/rtems/src/intr.c
+++ b/cpukit/rtems/src/intr.c
@@ -55,7 +55,7 @@ rtems_status_code rtems_interrupt_catch(
if ( !_ISR_Is_vector_number_valid( vector ) )
return RTEMS_INVALID_NUMBER;
- if ( !_ISR_Is_valid_user_handler( new_isr_handler ) )
+ if ( !_ISR_Is_valid_user_handler( (void *) new_isr_handler ) )
return RTEMS_INVALID_ADDRESS;
_ISR_Install_vector(