summaryrefslogtreecommitdiff
path: root/bench.c
diff options
context:
space:
mode:
Diffstat (limited to 'bench.c')
-rw-r--r--bench.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bench.c b/bench.c
index a5da95f..1317adf 100644
--- a/bench.c
+++ b/bench.c
@@ -44,7 +44,7 @@ int main()
printf("%*lu %*lu ", CMP_WIDTH, counts[CURRENT].compare, MS_WIDTH, timediff_ms(&start, &stop));
print_counts();
- assert_sorted(size, t->cmp);
+ assert_sorted((void*)buffer, size, sizeof(int), t->cmp);
}
printf(" %*zu\n", SIZE_WIDTH, size);
}