diff options
author | Neil Brown <neilb@suse.de> | 2007-05-21 14:25:30 +1000 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2007-05-21 14:25:30 +1000 |
commit | 68754bd17c81377091e509367e8d0cf9c80369a5 (patch) | |
tree | f7eb6e6672f794a636bb1eb6bf8941e33b800bbe /Grow.c | |
parent | b80da6616192d1bbfc65cba14c105ee68e71b517 (diff) | |
download | mdadm-68754bd17c81377091e509367e8d0cf9c80369a5.tar.gz mdadm-68754bd17c81377091e509367e8d0cf9c80369a5.tar.xz mdadm-68754bd17c81377091e509367e8d0cf9c80369a5.zip |
Fix handling of negative bitmap offsets on 64bit hosts.
The bitmap offset is a signed 32bit number, so casting to (long)
isn't sufficient. We must cast to (int32_t).
Diffstat (limited to 'Grow.c')
0 files changed, 0 insertions, 0 deletions