summaryrefslogtreecommitdiffstats
path: root/c/src/exec/rtems/src/intr.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/exec/rtems/src/intr.c')
-rw-r--r--c/src/exec/rtems/src/intr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/exec/rtems/src/intr.c b/c/src/exec/rtems/src/intr.c
index 8ec880ee99..c2da423986 100644
--- a/c/src/exec/rtems/src/intr.c
+++ b/c/src/exec/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(