From 0544b31a4986ab286dd3a2c27907a76eee81078d Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Tue, 9 Feb 2016 18:10:08 -0800 Subject: 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 Reviewed-on: https://review.coreboot.org/13655 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth Reviewed-by: Paul Menzel --- util/bimgtool/bimgtool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util') diff --git a/util/bimgtool/bimgtool.c b/util/bimgtool/bimgtool.c index 13ded54654..518674cf64 100644 --- a/util/bimgtool/bimgtool.c +++ b/util/bimgtool/bimgtool.c @@ -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; } -- cgit v1.2.3