forked from Imagelibrary/rtems
powerpc: ppc_interrupt_get_disable_mask()
Fix warning on 64-bit PowerPC. Update #3082.
This commit is contained in:
@@ -675,7 +675,7 @@ extern char _PPC_INTERRUPT_DISABLE_MASK[];
|
||||
|
||||
static inline uint32_t ppc_interrupt_get_disable_mask( void )
|
||||
{
|
||||
return (uint32_t) _PPC_INTERRUPT_DISABLE_MASK;
|
||||
return (uint32_t) (uintptr_t) _PPC_INTERRUPT_DISABLE_MASK;
|
||||
}
|
||||
|
||||
static inline uint32_t ppc_interrupt_disable( void )
|
||||
|
||||
Reference in New Issue
Block a user