From e7bae9c3cd0d267ebac380e34ee1cd0c1e6cf740 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 23 Feb 2026 14:20:43 +0100 Subject: fix warnings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'common.c') diff --git a/common.c b/common.c index 45a764b..82ad938 100644 --- a/common.c +++ b/common.c @@ -239,7 +239,7 @@ parse_salt_or_pepper(uint_least8_t *out, const char *s, size_t required_length, goto not_hexadecimal; out[i] = (uint_least8_t)((((s[0] & 15) + (s[0] > '9' ? 9 : 0)) << 4) | - (s[1] & 15) + (s[1] > '9' ? 9 : 0)); + ((s[1] & 15) + (s[1] > '9' ? 9 : 0))); } if (*s) @@ -291,7 +291,7 @@ parse_key(uint_least8_t *key, const char *s, size_t maximum_length) goto not_hexadecimal; key[i] = (uint_least8_t)((((s[0] & 15) + (s[0] > '9' ? 9 : 0)) << 4) | - (s[1] & 15) + (s[1] > '9' ? 9 : 0)); + ((s[1] & 15) + (s[1] > '9' ? 9 : 0))); } if (*s) -- cgit v1.2.3-70-g09d2