From: NeilBrown Date: Mon, 12 Oct 2009 06:00:23 +0000 (+1100) Subject: restripe: fix compile warning. X-Git-Tag: mdadm-3.1~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=521f349cb0b2549fc0b9f1a8141f0615841634da;p=thirdparty%2Fmdadm.git restripe: fix compile warning. Just a type cast... Signed-off-by: NeilBrown --- diff --git a/restripe.c b/restripe.c index d346920c..3d4d1c61 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) {