diff options
author | Vadim Bendebury <vbendeb@chromium.org> | 2012-10-19 10:57:18 -0700 |
---|---|---|
committer | Ronald G. Minnich <rminnich@gmail.com> | 2012-11-12 17:12:23 +0100 |
commit | 7c6b6bb593e5dae8de5623ee882bac5f28665f29 (patch) | |
tree | 8f422be35049ffc787c71a6078656268b9d6c5e5 /util/cbmem/cbmem.c | |
parent | feadfb77766c748e8487575ea914fcf68603c1d5 (diff) |
cbmem compilation needs to use the hardened toolchain
The appropriate compiler (provided by the build system) is used to
ensure proper toolchain options are used.
cbmem.c is being modified to suppress pointer to integer typecast
warnings.
Change-Id: Ibab2faacbd7bdfcf617ce9ea4296ebe7d7b64562
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: http://review.coreboot.org/1791
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'util/cbmem/cbmem.c')
-rw-r--r-- | util/cbmem/cbmem.c | 2 |
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)); |