From a4c9907d0579292b1c97f2405ba61bf65cce75d4 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Tue, 22 Jun 2010 10:20:54 -0700 Subject: [PATCH] isohybrid: fix another type mismatch Fix another printf type mismatch in the C version of isohybrid. Signed-off-by: H. Peter Anvin --- utils/isohybrid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/isohybrid.c b/utils/isohybrid.c index 2ceeb34..38257f6 100644 --- a/utils/isohybrid.c +++ b/utils/isohybrid.c @@ -499,7 +499,7 @@ main(int argc, char *argv[]) padding = (frac > 0) ? cylsize - frac : 0; if (mode & VERBOSE) - printf("imgsize: %lu, padding: %d\n", isostat.st_size, padding); + printf("imgsize: %zu, padding: %d\n", (size_t)isostat.st_size, padding); cc = c = (isostat.st_size + padding) / cylsize; if (c > 1024) -- 2.7.4