bimgtool: Fix printf warning for off_t

off_t wants to be printed with %zd, not %d.

Change-Id: I3f6e1988bb306f4a7738f1f3ccb2093518e4ceb3
Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Reviewed-on: https://review.coreboot.org/13655
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
This commit is contained in:
Stefan Reinauer 2016-02-09 18:10:08 -08:00 committed by Martin Roth
parent f0d0d91868
commit 0544b31a49
1 changed files with 1 additions and 1 deletions

View File

@ -269,7 +269,7 @@ static int verify_file(FILE *f)
if ((file_header.data_size + sizeof(struct bimg_header)) >
buf.st_size) {
fprintf(stderr, "Data size too big: %d > %d\n",
fprintf(stderr, "Data size too big: %d > %zd\n",
file_header.data_size, buf.st_size);
return -1;
}