]> git.ipfire.org Git - thirdparty/mdadm.git/commitdiff
Fix handling of negative bitmap offsets on 64bit hosts.
authorNeil Brown <neilb@suse.de>
Mon, 21 May 2007 04:25:30 +0000 (14:25 +1000)
committerNeil Brown <neilb@suse.de>
Mon, 21 May 2007 04:25:30 +0000 (14:25 +1000)
The bitmap offset is a signed 32bit number, so casting to (long)
isn't sufficient.  We must cast to (int32_t).


No differences found