Paul Fagerburg has submitted this change. ( 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/63317 Reviewed-by: Rob Barnes robbarnes@google.com Tested-by: build bot (Jenkins) no-reply@coreboot.org --- M util/cbmem/cbmem.c 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: build bot (Jenkins): Verified Rob Barnes: Looks good to me, approved
diff --git a/util/cbmem/cbmem.c b/util/cbmem/cbmem.c index 5b969e4..8add6ec 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(" %llu\n", (long long)arch_convert_raw_ts_entry(stamp)); }
enum timestamps_print_type {