diff options
| author | Konstantin Belousov <kib@FreeBSD.org> | 2025-11-19 14:51:54 +0000 |
|---|---|---|
| committer | Konstantin Belousov <kib@FreeBSD.org> | 2025-11-20 16:52:10 +0000 |
| commit | 39cad8402d19f361cb8d489a3a69ff94b643c6df (patch) | |
| tree | eb43bc7f6651ea9ffbef071b21d41668db9c4a36 | |
| parent | 3612ef642f511a1bd9f759da87abeafe7d6ff110 (diff) | |
max_align_t: apply alignof to 'long double' for long double alignment
Reviewed by; markj
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D53826
| -rw-r--r-- | sys/sys/_types.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/_types.h b/sys/sys/_types.h index fe345b43d5eb..6b70b8dc6e32 100644 --- a/sys/sys/_types.h +++ b/sys/sys/_types.h @@ -183,7 +183,7 @@ typedef struct { __attribute__((__aligned__(__alignof__(long long)))); #ifndef _STANDALONE long double __max_align2 - __attribute__((__aligned__(__alignof__(long long)))); + __attribute__((__aligned__(__alignof__(long double)))); #endif } __max_align_t; |
