diff options
Diffstat (limited to 'src/benchmarks/realloc/realloc.c')
| -rw-r--r-- | src/benchmarks/realloc/realloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/benchmarks/realloc/realloc.c b/src/benchmarks/realloc/realloc.c index 2eddc26..b6e6034 100644 --- a/src/benchmarks/realloc/realloc.c +++ b/src/benchmarks/realloc/realloc.c @@ -4,7 +4,7 @@ size_t* array; size_t steps = 1; int main() { - for (int i = 0; i < 100; i++) { + for (int i = 1; i < 100; i++) { if ((array = realloc(array, sizeof(size_t) * steps * i)) == NULL) { perror("realloc"); return 1; |
