diff options
| author | Michal Simek <[email protected]> | 2023-09-15 14:12:03 +0200 |
|---|---|---|
| committer | Simon Glass <[email protected]> | 2023-09-23 09:00:37 -0600 |
| commit | 83711374ee127205dabecbbdab8f58abd504578c (patch) | |
| tree | 38e7732abcc089e934097aa7a549df27b9ca4191 /tools/proftool.c | |
| parent | ce8cb76c7cf5cadf9d4b6293df8fbede74535d93 (diff) | |
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 <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'tools/proftool.c')
| -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 101bcb63334..869a2a32c51 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]; |
