]> git.neil.brown.name Git - LaFS.git/commit
Add casts to shifts which should change type width.
authorNeilBrown <neilb@suse.de>
Sun, 20 Jun 2010 23:33:18 +0000 (09:33 +1000)
committerNeilBrown <neilb@suse.de>
Mon, 21 Jun 2010 00:29:32 +0000 (10:29 +1000)
commit8ac462a0b0498a2ea0529035fa76aff136ad414c
tree13516efef7405ea78e4483c95269fd6cd5610e6f
parentcf0bd8bdab4ebcaa9a02d9570971bbd29aa08035
Add casts to shifts which should change type width.

Sometimes when we left-shift a value it is possible that the
new value will require more bits to represent.
In those cases we first need to cast the value to the appropriately
sized type.

Signed-off-by: NeilBrown <neilb@suse.de>
block.c
clean.c
cluster.c
roll.c
super.c