diff options
author | Andreas Schwab <schwab@suse.de> | 2022-09-19 10:10:09 +0200 |
---|---|---|
committer | Andreas Schwab <schwab@suse.de> | 2022-10-10 09:30:26 +0200 |
commit | c15318bfc5499d835c434a4d98b688aa2d928412 (patch) | |
tree | 58e935f8fff70d4d1c17cf625edca2203f2b4a43 /misc/tst-gethostid.c | |
parent | 954b8f38958de72c4712088735eb175118f17b51 (diff) | |
download | glibc-c15318bfc5499d835c434a4d98b688aa2d928412.tar.gz glibc-c15318bfc5499d835c434a4d98b688aa2d928412.tar.xz glibc-c15318bfc5499d835c434a4d98b688aa2d928412.zip |
socket: Use offsetof in SUN_LEN (bug 29578)
Use offsetof instead of its traditional expansion in the definition of the SUN_LEN macro, to avoid a warning from the undefined behaviour sanitizer.
Diffstat (limited to 'misc/tst-gethostid.c')
0 files changed, 0 insertions, 0 deletions