diff options
author | Paul Fagerburg <pfagerburg@google.com> | 2022-04-02 08:28:40 -0600 |
---|---|---|
committer | Paul Fagerburg <pfagerburg@chromium.org> | 2022-04-02 16:12:28 +0000 |
commit | ac68384c0c61766a850c3de2cd459773a87a6c71 (patch) | |
tree | 0008ca553310a7403d10fdef9b4d9e586631ba2d | |
parent | def18c4068cf1d07cc67f71d62e0ac5bc7e84afa (diff) |
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>
-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 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 { |