wolfssl/wolfcrypt/sp_int.h: wc_static_assert(), not static_assert().

This commit is contained in:
Daniel Pouzzner
2025-05-10 02:16:48 -05:00
parent 8410d922db
commit 5a911f6af0

View File

@@ -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. */