[syslinux:master] isohybrid: fix another type mismatch

syslinux-bot for H. Peter Anvin hpa at zytor.com
Tue Jun 22 10:24:26 PDT 2010


Commit-ID:  a4c9907d0579292b1c97f2405ba61bf65cce75d4
Gitweb:     http://syslinux.zytor.com/commit/a4c9907d0579292b1c97f2405ba61bf65cce75d4
Author:     H. Peter Anvin <hpa at zytor.com>
AuthorDate: Tue, 22 Jun 2010 10:20:54 -0700
Committer:  H. Peter Anvin <hpa at zytor.com>
CommitDate: Tue, 22 Jun 2010 10:20:54 -0700

isohybrid: fix another type mismatch

Fix another printf type mismatch in the C version of isohybrid.

Signed-off-by: H. Peter Anvin <hpa at zytor.com>


---
 utils/isohybrid.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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)



More information about the Syslinux-commits mailing list