From 4b8b37f9815892a1c221c0ca9f8eec623ab71866 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sat, 24 Oct 2009 17:20:29 +0200 Subject: mkfs_ext2: fix compile error Signed-off-by: Denys Vlasenko --- util-linux/mkfs_ext2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util-linux/mkfs_ext2.c') diff --git a/util-linux/mkfs_ext2.c b/util-linux/mkfs_ext2.c index d89f9460e..8b435c120 100644 --- a/util-linux/mkfs_ext2.c +++ b/util-linux/mkfs_ext2.c @@ -414,7 +414,7 @@ int mkfs_ext2_main(int argc UNUSED_PARAM, char **argv) , inodes_per_group * ngroups, nblocks , nreserved, reserved_percent , first_block - , group_desc_blocks * (blocksize / sizeof(*gd)) * blocks_per_group + , group_desc_blocks * (blocksize / (unsigned)sizeof(*gd)) * blocks_per_group , ngroups , blocks_per_group, blocks_per_group , inodes_per_group -- cgit v1.2.3