From 1cf0a1493f6c88cf1b6b29ab13034d3dcb5f676d Mon Sep 17 00:00:00 2001 From: tb <> Date: Tue, 21 Jul 2026 04:55:34 +0000 Subject: bn_mul_div: use (unsigned long long) instead of (uint64_t) to print with %llu --- src/regress/lib/libcrypto/bn/bn_mul_div.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/regress/lib/libcrypto/bn/bn_mul_div.c b/src/regress/lib/libcrypto/bn/bn_mul_div.c index dbad01004e..41280e385c 100644 --- a/src/regress/lib/libcrypto/bn/bn_mul_div.c +++ b/src/regress/lib/libcrypto/bn/bn_mul_div.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bn_mul_div.c,v 1.8 2025/08/12 10:29:35 jsing Exp $ */ +/* $OpenBSD: bn_mul_div.c,v 1.9 2026/07/21 04:55:34 tb Exp $ */ /* * Copyright (c) 2023 Joel Sing * @@ -399,7 +399,7 @@ benchmark_run(const struct benchmark *bm, int seconds) timespecsub(&end, &start, &duration); fprintf(stderr, "%d iterations in %f seconds - %llu op/s\n", i, duration.tv_sec + duration.tv_nsec / 1000000000.0, - (uint64_t)i * 1000000000 / + (unsigned long long)i * 1000000000 / (duration.tv_sec * 1000000000 + duration.tv_nsec)); BN_CTX_end(bn_ctx); -- cgit v1.2.3-55-g6feb