NeilBrown: restripe: fix compile warning.
Martin F. Krafft
madduck at alioth.debian.org
Wed Jan 27 02:03:11 UTC 2010
Module: mdadm
Branch: upstream
Commit: 521f349cb0b2549fc0b9f1a8141f0615841634da
URL: http://git.debian.org/?p=pkg-mdadm/mdadm.git;a=commit;h=521f349cb0b2549fc0b9f1a8141f0615841634da
Author: NeilBrown <neilb at suse.de>
Date: Mon Oct 12 17:00:23 2009 +1100
restripe: fix compile warning.
Just a type cast...
Signed-off-by: NeilBrown <neilb at suse.de>
---
restripe.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/restripe.c b/restripe.c
index d346920..3d4d1c6 100644
--- a/restripe.c
+++ b/restripe.c
@@ -673,7 +673,7 @@ int test_stripes(int *source, unsigned long long *offsets,
}
switch(level) {
case 6:
- qsyndrome(p, q, blocks, data_disks, chunk_size);
+ qsyndrome(p, q, (uint8_t**)blocks, data_disks, chunk_size);
disk = geo_map(-1, start/chunk_size, raid_disks,
level, layout);
if (memcmp(p, stripes[disk], chunk_size) != 0) {
More information about the pkg-mdadm-commits
mailing list