Whamcloud - gitweb
libext2fs: Use blk_t instead of int in ext2fs_allocate_group_table
authorTheodore Ts'o <tytso@mit.edu>
Wed, 22 Jul 2009 06:38:16 +0000 (02:38 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 22 Jul 2009 06:38:16 +0000 (02:38 -0400)
commit1451c20109608ef4925f103090dee3771aa44570
treebeed9b5fc12839bcbe62ba36bea927495c30d3a8
parent776a374a57881d26af6532608e0084ddc028e8ec
libext2fs: Use blk_t instead of int in ext2fs_allocate_group_table

We are using a signed int to store a block number in
ext2fs_allocate_group_table.  We don't actually do any computation or
comparisons using it, so it shouldn't cause any bugs, but it's
technically incorrect, and it's possible an overly clever compiler
might do something wrong with it.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
lib/ext2fs/alloc_tables.c