From fbbe6d65b49454c84fb538dcd7cce6099d678007 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Mon, 11 Jun 2018 13:47:25 +0200 Subject: [PATCH] basic/parse-util: remove unnecessary parentheses --- src/basic/parse-util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/basic/parse-util.c b/src/basic/parse-util.c index b25bc6e..33698b0 100644 --- a/src/basic/parse-util.c +++ b/src/basic/parse-util.c @@ -662,7 +662,7 @@ int parse_permille_unbounded(const char *p) { r = safe_atoi(n, &v); if (r < 0) return r; - if (v > ((INT_MAX - q) / 10)) + if (v > (INT_MAX - q) / 10) return -ERANGE; v = v * 10 + q; -- 2.7.4