Paul Fagerburg has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/63317 )
Change subject: util/cbmem: add type cast ......................................................................
util/cbmem: add type cast
arch_convert_raw_ts_entry returns a uint64_t, which needs to be cast on ARM systems to avoid a type error.
BUG=b/227871959 TEST=no build errors in downstream
Signed-off-by: Paul Fagerburg pfagerburg@google.com Change-Id: I87a83758b7f122b77f9631c669c7cd8df66f8d1b --- M util/cbmem/cbmem.c 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/17/63317/1
diff --git a/util/cbmem/cbmem.c b/util/cbmem/cbmem.c index 5b969e4..0dda151 100644 --- a/util/cbmem/cbmem.c +++ b/util/cbmem/cbmem.c @@ -639,7 +639,7 @@ } if (last_part) printf("%s", last_part); - printf(" %lu\n", arch_convert_raw_ts_entry(stamp)); + printf(" %lu\n", (long long)arch_convert_raw_ts_entry(stamp)); }
enum timestamps_print_type {