summaryrefslogtreecommitdiff
path: root/lib/workqueue.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2015-03-03 10:30:27 +0100
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-06-08 12:52:19 -0400
commit81382410ed4203f5cb9283204bed635cb80df7d2 (patch)
tree1b1f6408dc7e05ee70d9879ca10c6920dc96d669 /lib/workqueue.c
parentf03db93b27bc4221712a2f7ef6a123a144e5884c (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