commit | 2b9f0664d601188f074f14c8844bc05d5cdeebff | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Tue Feb 25 09:25:53 2020 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Tue Feb 25 09:25:53 2020 +0100 |
tree | 265fd74bcbd0be57d5916b671f4b94d9b3077cec | |
parent | 105599c1bab84f67e013a266fd846799c7075b69 [diff] |
CLEANUP: fd: use a union in fd_rm_from_fd_list() to shut aliasing warnings Enabling strict aliasing fails in fd.c when using the double-word CAS, let's get rid of the (void**)(void*)&cur_list junk and use a union instead. This way the compiler knows they do alias.