diff options
| author | Mattias Andrée <m@maandree.se> | 2026-02-22 14:48:26 +0100 |
|---|---|---|
| committer | Mattias Andrée <m@maandree.se> | 2026-02-22 14:48:26 +0100 |
| commit | 94a12a8ffe9f82d9a54142b5b66a75dd1ec9fd8f (patch) | |
| tree | 8536857aa95126a38dc94b2d612fbcf25b359982 /libsecauth_format_spec.c | |
| parent | Update e-mail (diff) | |
| download | secauth-94a12a8ffe9f82d9a54142b5b66a75dd1ec9fd8f.tar.gz secauth-94a12a8ffe9f82d9a54142b5b66a75dd1ec9fd8f.tar.bz2 secauth-94a12a8ffe9f82d9a54142b5b66a75dd1ec9fd8f.tar.xz | |
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'libsecauth_format_spec.c')
| -rw-r--r-- | libsecauth_format_spec.c | 2 |
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; } |
