trace: Use 64bit variable for start and len

tputq() requires variables to have 64bit width that's why make them 64bit
to clean alignment requirement.

Signed-off-by: Michal Simek <michal.simek@amd.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Michal Simek 2023-09-15 14:12:03 +02:00 committed by Simon Glass
parent ce8cb76c7c
commit 83711374ee

View file

@ -1493,7 +1493,8 @@ static int write_pages(struct twriter *tw, enum out_format_t out_format,
static int write_flyrecord(struct twriter *tw, enum out_format_t out_format, static int write_flyrecord(struct twriter *tw, enum out_format_t out_format,
int *missing_countp, int *skip_countp) int *missing_countp, int *skip_countp)
{ {
int start, ret, len; unsigned long long start, len;
int ret;
FILE *fout = tw->fout; FILE *fout = tw->fout;
char str[200]; char str[200];