Commit ae584be
committed
[nrf fromlist] net: if: Add dummy member to anonymous union in net_if_addr
Without a member, the anonymous union ends up with different size in C
and C++, causing the following fields to have different offsets. Adding
a 1-byte dummy member ensures consistent layout across both compilers.
Upstream PR #: 90359
Signed-off-by: Adrian Gielniewski <[email protected]>1 parent 711cb9e commit ae584be
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
| 128 | + | |
128 | 129 | | |
129 | 130 | | |
130 | 131 | | |
| |||
0 commit comments