]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
trace: Use 64bit variable for start and len
authorMichal Simek <michal.simek@amd.com>
Fri, 15 Sep 2023 12:12:03 +0000 (14:12 +0200)
committerSimon Glass <sjg@chromium.org>
Sat, 23 Sep 2023 15:00:37 +0000 (09:00 -0600)
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>
tools/proftool.c

index 101bcb63334ef2cf0012a228a297c5c92fbee964..869a2a32c5100b8bca5c973585d5c7adc2ae19c4 100644 (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,
                           int *missing_countp, int *skip_countp)
 {
-       int start, ret, len;
+       unsigned long long start, len;
+       int ret;
        FILE *fout = tw->fout;
        char str[200];