aboutsummaryrefslogtreecommitdiffstats
path: root/libsecauth_format_spec.c
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2026-02-22 14:48:26 +0100
committerMattias Andrée <m@maandree.se>2026-02-22 14:48:26 +0100
commit94a12a8ffe9f82d9a54142b5b66a75dd1ec9fd8f (patch)
tree8536857aa95126a38dc94b2d612fbcf25b359982 /libsecauth_format_spec.c
parentUpdate e-mail (diff)
downloadsecauth-94a12a8ffe9f82d9a54142b5b66a75dd1ec9fd8f.tar.gz
secauth-94a12a8ffe9f82d9a54142b5b66a75dd1ec9fd8f.tar.bz2
secauth-94a12a8ffe9f82d9a54142b5b66a75dd1ec9fd8f.tar.xz
m fixesHEADmaster
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'libsecauth_format_spec.c')
-rw-r--r--libsecauth_format_spec.c2
1 files changed, 1 insertions, 1 deletions
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;
}