forked from Imagelibrary/rtems
atsam/contrib/.../source/board_lowlevel.c: Fix comparison of two arrays
Casted both as uintptr_t to resolve this.
This commit is contained in:
committed by
Kinsey Moore
parent
2cc6af6188
commit
47e4832f9a
@@ -352,7 +352,7 @@ void _SetupMemoryRegion(void)
|
||||
((uintptr_t)atsam_memory_null_begin) |
|
||||
MPU_REGION_VALID |
|
||||
MPU_NULL_REGION;
|
||||
if (atsam_memory_null_begin != atsam_memory_itcm_end) {
|
||||
if ((uintptr_t) atsam_memory_null_begin != (uintptr_t) atsam_memory_itcm_end) {
|
||||
dwRegionAttr =
|
||||
MPU_AP_NO_ACCESS |
|
||||
MPU_REGION_EXECUTE_NEVER |
|
||||
|
||||
Reference in New Issue
Block a user