From 5a911f6af083196604c7136076dd30c0e8b843f6 Mon Sep 17 00:00:00 2001 From: Daniel Pouzzner Date: Sat, 10 May 2025 02:16:48 -0500 Subject: [PATCH] wolfssl/wolfcrypt/sp_int.h: wc_static_assert(), not static_assert(). --- 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 658eb82e0..e9eacf42e 100644 --- a/wolfssl/wolfcrypt/sp_int.h +++ b/wolfssl/wolfcrypt/sp_int.h @@ -930,7 +930,7 @@ typedef struct sp_int_minimal { sp_int_digit dp[1]; } sp_int_minimal; -static_assert(sizeof(struct sp_int_minimal) % sizeof(sp_int_digit) == 0); +wc_static_assert(sizeof(struct sp_int_minimal) % sizeof(sp_int_digit) == 0); #define MP_INT_SIZEOF_DIGITS(cnt) (MP_INT_SIZEOF(cnt) / sizeof(sp_int_digit)) /* Multi-precision integer type is SP integer type. */