summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src/sam3u
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/arch/arm/src/sam3u')
-rwxr-xr-xnuttx/arch/arm/src/sam3u/sam3u_allocateheap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/arch/arm/src/sam3u/sam3u_allocateheap.c b/nuttx/arch/arm/src/sam3u/sam3u_allocateheap.c
index b27f28564..1d94c1e48 100755
--- a/nuttx/arch/arm/src/sam3u/sam3u_allocateheap.c
+++ b/nuttx/arch/arm/src/sam3u/sam3u_allocateheap.c
@@ -113,7 +113,7 @@ void up_allocate_heap(FAR void **heap_start, size_t *heap_size)
/* Allow access to the heap memory */
- sam3u_mpuheap((uintptr_)g_heapbase, size);
+ sam3u_mpuheap((uintptr_t)g_heapbase, size);
}
/************************************************************************