diff options
| author | zhylmzr <zhylmzr@gmail.com> | 2024-11-27 20:15:34 +0800 |
|---|---|---|
| committer | zhylmzr <zhylmzr@gmail.com> | 2024-11-27 20:15:34 +0800 |
| commit | c2b6a14cd700a7d7de525ea433fe62252db96e11 (patch) | |
| tree | 74331f3b2716a521037e6c3e941e280ddb387227 /core/sys/windows | |
| parent | 83f67f5c70b961d8b8d59697f373063dcfdc596c (diff) | |
fix `DNS_RECORD.Data` error align on windows i386
fixed: https://github.com/odin-lang/Odin/issues/4520
Diffstat (limited to 'core/sys/windows')
| -rw-r--r-- | core/sys/windows/types.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/sys/windows/types.odin b/core/sys/windows/types.odin index e1ace4133..5dcf09eab 100644 --- a/core/sys/windows/types.odin +++ b/core/sys/windows/types.odin @@ -4519,7 +4519,7 @@ DNS_RECORD :: struct { // aka DNS_RECORDA Flags: DWORD, dwTtl: DWORD, _: DWORD, - Data: struct #raw_union { + Data: struct #raw_union #align(4) { CNAME: DNS_PTR_DATAA, A: u32be, // Ipv4 Address AAAA: u128be, // Ipv6 Address |