From 94a12a8ffe9f82d9a54142b5b66a75dd1ec9fd8f Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 22 Feb 2026 14:48:26 +0100 Subject: m fixes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- libsecauth_format_spec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libsecauth_format_spec.c') diff --git a/libsecauth_format_spec.c b/libsecauth_format_spec.c index 09fa600..81e497c 100644 --- a/libsecauth_format_spec.c +++ b/libsecauth_format_spec.c @@ -25,5 +25,5 @@ libsecauth_format_spec(struct libsecauth_spec *spec, char *buffer, size_t buffer client_rounds, server_rounds, spec->posthash ? "{$" : "", spec->posthash ? spec->posthash : "", spec->posthash ? "$}" : "", expected_with_dollars ? "{$" : "", spec->expected ? spec->expected : "" , expected_with_dollars ? "$}" : ""); - return i > 0 ? (size_t)(i + 1) : 0; + return i > 0 ? (size_t)i + 1u : 0; } -- cgit v1.2.3-70-g09d2