summaryrefslogtreecommitdiff
path: root/util/cbmem/cbmem.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/cbmem/cbmem.c')
-rw-r--r--util/cbmem/cbmem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/cbmem/cbmem.c b/util/cbmem/cbmem.c
index ff411db248..31950e22a3 100644
--- a/util/cbmem/cbmem.c
+++ b/util/cbmem/cbmem.c
@@ -125,7 +125,7 @@ static const struct timestamp_table *find_tstamps(u64 address)
int new_size;
struct timestamp_table *tst_p;
u32 stamp_addr = (u32)
- ((u64)cbmr_p->cbmem_addr);
+ ((uintptr_t)(cbmr_p->cbmem_addr));
readmem(buf, stamp_addr,
sizeof(struct timestamp_table));