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>
This commit is contained in:
Paul Fagerburg 2022-04-02 08:28:40 -06:00 committed by Paul Fagerburg
parent def18c4068
commit ac68384c0c
1 changed files with 1 additions and 1 deletions

View File

@ -639,7 +639,7 @@ static void print_with_path(struct ts_range_stack *range_stack, const int stackl
} }
if (last_part) if (last_part)
printf("%s", 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 { enum timestamps_print_type {