From 521f349cb0b2549fc0b9f1a8141f0615841634da Mon Sep 17 00:00:00 2001 From: NeilBrown Date: Mon, 12 Oct 2009 17:00:23 +1100 Subject: [PATCH] restripe: fix compile warning. Just a type cast... Signed-off-by: NeilBrown --- restripe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {