about summary refs log tree commit diff
path: root/benchtests/bench-malloc-simple.c
diff options
context:
space:
mode:
Diffstat (limited to 'benchtests/bench-malloc-simple.c')
-rw-r--r--benchtests/bench-malloc-simple.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/benchtests/bench-malloc-simple.c b/benchtests/bench-malloc-simple.c
index b8bb2cc116..c4f06f6999 100644
--- a/benchtests/bench-malloc-simple.c
+++ b/benchtests/bench-malloc-simple.c
@@ -87,7 +87,7 @@ bench (unsigned long size)
   size_t iters = NUM_ITERS;
   int **arr = (int**) malloc (MAX_ALLOCS * sizeof (void*));
 
-  for (int t = 0; t <= 3; t++)
+  for (int t = 0; t < 3; t++)
     for (int i = 0; i < NUM_ALLOCS; i++)
       {
 	tests[t][i].n = allocs[i];