forked from Imagelibrary/rtems
bsps/shared/start/setvec.c: Fix warning across multiple BSPs
GCC 14 flags this method with a warning.
This commit is contained in:
@@ -56,7 +56,11 @@ rtems_isr_entry set_vector( /* returns old vector */
|
||||
if ( type )
|
||||
rtems_interrupt_catch( handler, vector, &previous_isr );
|
||||
else
|
||||
_CPU_ISR_install_raw_handler( vector, handler, (void *)&previous_isr );
|
||||
_CPU_ISR_install_raw_handler(
|
||||
vector,
|
||||
(void *)handler,
|
||||
(void *)&previous_isr
|
||||
);
|
||||
|
||||
return previous_isr;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user