From 64b98981de7979b30cff8e88051bae566c094635 Mon Sep 17 00:00:00 2001 From: Lealem Amedie Date: Fri, 17 Nov 2023 16:44:24 -0700 Subject: [PATCH] Fix for g++ --- wolfcrypt/benchmark/benchmark.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wolfcrypt/benchmark/benchmark.c b/wolfcrypt/benchmark/benchmark.c index cf109ef34..b5c89aa0a 100644 --- a/wolfcrypt/benchmark/benchmark.c +++ b/wolfcrypt/benchmark/benchmark.c @@ -4368,7 +4368,7 @@ static void bench_aesecb_internal(int useDeviceID, #ifdef HAVE_FIPS const int benchSz = AES_BLOCK_SIZE; #else - const int benchSz = (const int)bench_size; + const int benchSz = (int)bench_size; #endif /* clear for done cleanup */