From: Tobias Brunner Date: Mon, 25 Nov 2024 15:56:53 +0000 (+0100) Subject: scripts: Use correct type for length when printing `count` for KEM KATs X-Git-Tag: 6.0.0~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b1858a9b9b9f83215a7f044aaae0d683ddf2e537;p=thirdparty%2Fstrongswan.git scripts: Use correct type for length when printing `count` for KEM KATs --- diff --git a/scripts/nist_kem_kat.c b/scripts/nist_kem_kat.c index e80436132c..31370e8ae9 100644 --- a/scripts/nist_kem_kat.c +++ b/scripts/nist_kem_kat.c @@ -140,7 +140,7 @@ int main(int argc, char *argv[]) { break; } - fprintf(out, "/** count = %.*s */\n", value_len, value); + fprintf(out, "/** count = %.*s */\n", (int)value_len, value); fprintf(out, "{\n"); fprintf(out, "\t.method = %s,\n", method); count--;