From ac68384c0c61766a850c3de2cd459773a87a6c71 Mon Sep 17 00:00:00 2001 From: Paul Fagerburg Date: Sat, 2 Apr 2022 08:28:40 -0600 Subject: 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 Change-Id: I87a83758b7f122b77f9631c669c7cd8df66f8d1b Reviewed-on: https://review.coreboot.org/c/coreboot/+/63317 Reviewed-by: Rob Barnes Tested-by: build bot (Jenkins) --- util/cbmem/cbmem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util') diff --git a/util/cbmem/cbmem.c b/util/cbmem/cbmem.c index 5b969e4b8b..8add6ec261 100644 --- a/util/cbmem/cbmem.c +++ b/util/cbmem/cbmem.c @@ -639,7 +639,7 @@ static void print_with_path(struct ts_range_stack *range_stack, const int stackl } 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 { -- cgit v1.2.3