Ronald G. Minnich (rminnich(a)gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/9595
-gerrit
commit 7c90d659b743d14ff36fa60c53687bb463d76f66
Author: Ronald G. Minnich <rminnich(a)gmail.com>
Date: Sat Apr 11 15:01:00 2015 -0700
util/arm_boot_tools
Kill warning. Of course, this is sure to have a different error
on some different version of gcc, but that's why I do this kind of
work in Go nowadays.
Change-Id: I714293ee38b35d1ae06297d3e4d839a5787825aa
Signed-off-by: Ronald G. Minnich <rminnich(a)gmail.com>
---
util/arm_boot_tools/mksunxiboot/mksunxiboot.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/util/arm_boot_tools/mksunxiboot/mksunxiboot.c b/util/arm_boot_tools/mksunxiboot/mksunxiboot.c
index 58765b1..493f476 100644
--- a/util/arm_boot_tools/mksunxiboot/mksunxiboot.c
+++ b/util/arm_boot_tools/mksunxiboot/mksunxiboot.c
@@ -156,7 +156,7 @@ int main(int argc, char *argv[])
return EXIT_FAILURE;
}
- printf("File size: 0x%x\n", file_size);
+ printf("File size: 0x%lx\n", file_size);
if (fread(file_data, file_size, 1, fd_in) != 1) {
fprintf(stderr, "Cannot read %s: %s\n", argv[1],
strerror(errno));
@@ -168,7 +168,7 @@ int main(int argc, char *argv[])
if (load_size > SRAM_LOAD_MAX_SIZE)
load_size = SRAM_LOAD_MAX_SIZE;
- printf("Load size: 0x%x\n", load_size);
+ printf("Load size: 0x%lx\n", load_size);
fd_out = fopen(argv[2], "w");
if (!fd_out) {