From 730890b8cc19c1f924adb834558950d86604ab4d Mon Sep 17 00:00:00 2001 From: Daniel Pouzzner Date: Sat, 15 Apr 2023 00:33:15 -0500 Subject: [PATCH] wolfssl/wolfcrypt/sp_int.h: fix a missed bugprone-macro-parentheses in the C89 path. --- wolfssl/wolfcrypt/sp_int.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wolfssl/wolfcrypt/sp_int.h b/wolfssl/wolfcrypt/sp_int.h index 5eb845f89..57fb901e6 100644 --- a/wolfssl/wolfcrypt/sp_int.h +++ b/wolfssl/wolfcrypt/sp_int.h @@ -815,7 +815,7 @@ while (0) /* Declare a dynamically allocated mp_int. */ #define DECL_MP_INT_SIZE_DYN(name, bits, max) \ unsigned char name##d[MP_INT_SIZEOF(MP_BITS_CNT(max))]; \ - sp_int* name = (sp_int*)name##d + sp_int* (name) = (sp_int*)name##d #endif /* Declare a statically allocated mp_int. */ #define DECL_MP_INT_SIZE(name, bits) \