summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorMarcelo Povoa <marcelogp@chromium.org>2014-02-24 10:00:26 -0800
committerMarc Jones <marc.jones@se-eng.com>2014-10-28 17:09:49 +0100
commit4b90b79922396c722a156c6ade8dfa43637ba163 (patch)
tree86942271736edf0ca9bd0cc6d76b612dd936bfcf /src/lib
parent845aa1416d334872b904ce8e04659511594b8c24 (diff)
cbmem: Fix 64-bit pointer related casts in dynamic_cbmem.c
Change-Id: I7a382d42e1552d13b1feffc37848674f304adee2 Signed-off-by: Marcelo Povoa <marcelogp@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/187726 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Stefan Reinauer <reinauer@chromium.org> Reviewed-by: David Hendricks <dhendrix@chromium.org> (cherry picked from commit 57bbca93f12e0ddbde3e673070483e13521dfbdd) Signed-off-by: Isaac Christensen <isaac.christensen@se-eng.com> Reviewed-on: http://review.coreboot.org/6973 Tested-by: build bot (Jenkins) Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Diffstat (limited to 'src/lib')
-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();