From d4eda22d0c5c23b637309f3bd9b6dd84f9235328 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Tue, 6 Feb 2007 21:52:05 +0000 Subject: fix warning coming from printing size_t with %u --- util-linux/mkfs_minix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util-linux/mkfs_minix.c b/util-linux/mkfs_minix.c index 59a9e1715..e9ac9350d 100644 --- a/util-linux/mkfs_minix.c +++ b/util-linux/mkfs_minix.c @@ -537,7 +537,7 @@ static size_t do_check(char *buffer, size_t try, unsigned current_block) try = ((size_t)got) / BLOCK_SIZE; if (got & (BLOCK_SIZE - 1)) - fprintf(stderr, "Short read at block %u\n", current_block + try); + fprintf(stderr, "Short read at block %u\n", (unsigned)(current_block + try)); return try; } -- cgit v1.2.3