diff options
Diffstat (limited to 'firmware/target/arm/as3525/system-target.h')
-rw-r--r-- | firmware/target/arm/as3525/system-target.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/as3525/system-target.h b/firmware/target/arm/as3525/system-target.h index daea180a64..eb59709cd3 100644 --- a/firmware/target/arm/as3525/system-target.h +++ b/firmware/target/arm/as3525/system-target.h | |||
@@ -28,7 +28,7 @@ | |||
28 | #ifdef BOOTLOADER | 28 | #ifdef BOOTLOADER |
29 | #define UNCACHED_ADDR(a) (a) | 29 | #define UNCACHED_ADDR(a) (a) |
30 | #else | 30 | #else |
31 | #define UNCACHED_ADDR(a) (a + 0x10000000) | 31 | #define UNCACHED_ADDR(a) ((typeof(a)) ((uintptr_t)(a) + 0x10000000)) |
32 | #endif | 32 | #endif |
33 | 33 | ||
34 | #endif /* SYSTEM_TARGET_H */ | 34 | #endif /* SYSTEM_TARGET_H */ |