From faf2cebb48ec44a14b025bbe858b66efb78577fa Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 2 May 2016 00:02:01 +0200 Subject: Buffer was too small MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- bench/benchmark-func.c | 2 +- bench/benchmark.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'bench') diff --git a/bench/benchmark-func.c b/bench/benchmark-func.c index 25f18b8..15af698 100644 --- a/bench/benchmark-func.c +++ b/bench/benchmark-func.c @@ -33,7 +33,7 @@ struct function { #define M_MAX 200 -static char buf[1000]; +static char buf[2000]; static z_t temp, temp2; static unsigned long long int measurements[M_MAX]; diff --git a/bench/benchmark.c b/bench/benchmark.c index 1404d93..7c525dc 100644 --- a/bench/benchmark.c +++ b/bench/benchmark.c @@ -17,7 +17,7 @@ int main(int argc, char *argv[]) { - char buf[1000]; + char buf[2000]; z_t a, b, c, d, tiny; jmp_buf jmp; size_t i; -- cgit v1.2.3-70-g09d2