diff options
author | Kinsey Moore <kinsey.moore@oarcorp.com> | 2020-12-10 14:41:07 -0600 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2020-12-11 15:32:15 -0600 |
commit | 9edca35dbe61db9c5b8cc8e4d6b73a6a834170e7 (patch) | |
tree | 006c5ac5c91185d205e7b2d19db0083844850360 /bsps/shared/dev | |
parent | tm27: Use generic cpu index accessor (diff) | |
download | rtems-9edca35dbe61db9c5b8cc8e4d6b73a6a834170e7.tar.bz2 |
bsps/gicv3: Resolve build warnings on 64bit
Diffstat (limited to 'bsps/shared/dev')
-rw-r--r-- | bsps/shared/dev/irq/arm-gicv3.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bsps/shared/dev/irq/arm-gicv3.c b/bsps/shared/dev/irq/arm-gicv3.c index 520a728170..536abdfc35 100644 --- a/bsps/shared/dev/irq/arm-gicv3.c +++ b/bsps/shared/dev/irq/arm-gicv3.c @@ -134,13 +134,13 @@ static volatile gic_redist *gicv3_get_redist(uint32_t cpu_index) { return (volatile gic_redist *) - (BSP_ARM_GIC_REDIST_BASE + cpu_index * 0x20000); + ((uintptr_t)BSP_ARM_GIC_REDIST_BASE + cpu_index * 0x20000); } static volatile gic_sgi_ppi *gicv3_get_sgi_ppi(uint32_t cpu_index) { return (volatile gic_sgi_ppi *) - (BSP_ARM_GIC_REDIST_BASE + cpu_index * 0x20000 + 0x10000); + ((uintptr_t)BSP_ARM_GIC_REDIST_BASE + cpu_index * 0x20000 + 0x10000); } void gicvx_interrupt_dispatch(void) |