summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-10-24 15:20:29 (GMT)
committer Denys Vlasenko <vda.linux@googlemail.com>2009-10-24 15:20:29 (GMT)
commit4b8b37f9815892a1c221c0ca9f8eec623ab71866 (patch)
tree4ae447e63a4f958fc6712409fd7fcda3109cd43e
parent17c838bc6da9ff7defb2a8d5ff539ec743acc1fc (diff)
downloadbusybox-4b8b37f9815892a1c221c0ca9f8eec623ab71866.tar.gz
busybox-4b8b37f9815892a1c221c0ca9f8eec623ab71866.tar.bz2
mkfs_ext2: fix compile error
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--util-linux/mkfs_ext2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/mkfs_ext2.c b/util-linux/mkfs_ext2.c
index d89f946..8b435c1 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