Browse Source

Fix broken assert in algo bencher

Znort 987 14 years ago
parent
commit
84b0467cb2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      main.c

+ 1 - 1
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;