diff options
author | Michal Simek <michal.simek@amd.com> | 2023-09-15 14:12:03 +0200 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2023-09-23 09:00:37 -0600 |
commit | 83711374ee127205dabecbbdab8f58abd504578c (patch) | |
tree | 38e7732abcc089e934097aa7a549df27b9ca4191 /tools | |
parent | ce8cb76c7cf5cadf9d4b6293df8fbede74535d93 (diff) | |
download | u-boot-83711374ee127205dabecbbdab8f58abd504578c.zip u-boot-83711374ee127205dabecbbdab8f58abd504578c.tar.gz u-boot-83711374ee127205dabecbbdab8f58abd504578c.tar.bz2 |
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>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/proftool.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/proftool.c b/tools/proftool.c index 101bcb6..869a2a3 100644 --- a/tools/proftool.c +++ b/tools/proftool.c @@ -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, int *missing_countp, int *skip_countp) { - int start, ret, len; + unsigned long long start, len; + int ret; FILE *fout = tw->fout; char str[200]; |