diff options
author | Bobby Bingham <koorogi@koorogi.info> | 2014-10-29 22:20:04 -0500 |
---|---|---|
committer | Bobby Bingham <koorogi@koorogi.info> | 2014-10-29 22:20:04 -0500 |
commit | 9499a9f80823bf936c6b525a3fe3ae8ee8c17e80 (patch) | |
tree | f89d8d82d3b250159a5ca66735411f51592448a5 /bench.c | |
parent | 8a27889d505b07d91ecd03ad1cfeb818b9b440f7 (diff) |
Add debugging assertion
Diffstat (limited to 'bench.c')
-rw-r--r-- | bench.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } |