Whamcloud - gitweb
Change the function prototypes of ext2fs_set_bit, ext2fs_clear_bit, and
authorTheodore Ts'o <tytso@mit.edu>
Thu, 30 Jun 2005 23:40:18 +0000 (19:40 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 30 Jun 2005 23:40:18 +0000 (19:40 -0400)
commit80af12e180bdea9ed391a0aee58e31cee7641709
tree022a9ccb6c6a0f2a69d82ab78929e2e149aa071f
parent55080a7637172402c51eb4f2fb2b81870c04de3d
Change the function prototypes of ext2fs_set_bit, ext2fs_clear_bit, and
ext2fs_test_bit to take an unsigned int for the bit number.  Negative
bit numbers were never allowed (and didn't make any sense), so this should
be a safe change.  This is needed to allow safe use of block numbers
greater than or equal to 2**31.
lib/ext2fs/ChangeLog
lib/ext2fs/bitops.c
lib/ext2fs/bitops.h