summaryrefslogtreecommitdiff
path: root/bench.c
diff options
context:
space:
mode:
authorBobby Bingham <koorogi@koorogi.info>2014-10-29 22:20:04 -0500
committerBobby Bingham <koorogi@koorogi.info>2014-10-29 22:20:04 -0500
commit9499a9f80823bf936c6b525a3fe3ae8ee8c17e80 (patch)
treef89d8d82d3b250159a5ca66735411f51592448a5 /bench.c
parent8a27889d505b07d91ecd03ad1cfeb818b9b440f7 (diff)
Add debugging assertion
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);
}