Commit 84b0467cb2cafa97eb26601d534a88ab8b433e1d

Znort 987 2011-08-15T11:49:06

Fix broken assert in algo bencher

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/main.c b/main.c
index b44ce25..c7e255b 100644
--- a/main.c
+++ b/main.c
@@ -399,7 +399,7 @@ static double bench_algo_stage3(
 		0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
 	};
 	struct work work __attribute__((aligned(128)));
-	assert(sizeof(work) == sizeof(some_block));
+	assert(sizeof(work) <= sizeof(some_block));
 	memcpy(&work, &some_block, sizeof(work));
 
 	struct work_restart dummy;