forked from Imagelibrary/rtems
bsps/mips/hurricane/clock/ckinit.c: Address type mismatch
GCC 14 generates an error for the wrong signature function being passed in. The underlying type was a void * so adjusting the signature of the ISR handler was not an option. Added cast. Closes #5272
This commit is contained in:
committed by
Chris Johns
parent
734208a49b
commit
6876262a44
@@ -200,5 +200,5 @@ void Clock_exit( void )
|
||||
|
||||
void _Clock_Initialize( void )
|
||||
{
|
||||
Install_clock( Clock_isr );
|
||||
Install_clock( (void *)Clock_isr );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user