summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/dynamic_cbmem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/dynamic_cbmem.c b/src/lib/dynamic_cbmem.c
index ba96e8cbce..3dc50770a7 100644
--- a/src/lib/dynamic_cbmem.c
+++ b/src/lib/dynamic_cbmem.c
@@ -189,7 +189,7 @@ static inline int cbmem_fail_recovery(void)
static int validate_entries(struct cbmem_root *root)
{
unsigned int i;
- u32 current_end;
+ uintptr_t current_end;
current_end = (uintptr_t)get_top_aligned();