diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2015-03-03 10:30:27 +0100 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-06-08 12:52:19 -0400 |
| commit | 81382410ed4203f5cb9283204bed635cb80df7d2 (patch) | |
| tree | 1b1f6408dc7e05ee70d9879ca10c6920dc96d669 /lib/workqueue.c | |
| parent | f03db93b27bc4221712a2f7ef6a123a144e5884c (diff) | |
ospf6d: use existing union, avoid strict-aliasing
There are preexisting fields u.lp.id and u.lp.adv_router in struct
prefix that do the same thing as these type-punning pointer derefs.
Use these and shut up the strict-aliasing warnings.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
(cherry picked from commit 0de0138a9146074f268245193e45c9376d998722)
Diffstat (limited to 'lib/workqueue.c')
0 files changed, 0 insertions, 0 deletions
