From dd17dde7208ecdf1b3f69a42111973b8e2c0b38e Mon Sep 17 00:00:00 2001 From: Michael Platzer <michael.platzer@tuwien.ac.at> Date: Thu, 16 Apr 2020 11:06:04 +0200 Subject: [PATCH] sequential/ammunition: fix loop bound of ammunition_atoi() --- bench/sequential/ammunition/ammunition_libc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bench/sequential/ammunition/ammunition_libc.c b/bench/sequential/ammunition/ammunition_libc.c index ed751f72..0445e78c 100755 --- a/bench/sequential/ammunition/ammunition_libc.c +++ b/bench/sequential/ammunition/ammunition_libc.c @@ -99,7 +99,7 @@ int ammunition_atoi ( const char *str ) int readingPos = 0; if ( str[ 0 ] == '-' || str[ 0 ] == '+' ) readingPos++; - _Pragma( "loopbound min 1 max 1" ) + _Pragma( "loopbound min 1 max 7" ) do { result *= 10; result += str[ readingPos++ ] - 48; -- GitLab