mdns: fix three alignment warnings
authorFerry Huberts <ferry.huberts@pelagic.nl>
Wed, 20 Feb 2013 11:18:52 +0000 (12:18 +0100)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Wed, 20 Feb 2013 11:22:59 +0000 (12:22 +0100)
commit4875d589c3b2d9736e6ffa4f1910b5921bae6f3c
tree6cba0f6e1e56ab91e65053f9d945522b4ab5bc14
parent423e4488dc010ade6eab35ae60b674a536cc8fbb
mdns: fix three alignment warnings

src/NetworkInterfaces.c: In function 'CreateRouterElectionSocket':
src/NetworkInterfaces.c:288:16: error: cast increases required alignment of target type [-Werror=cast-align]
src/NetworkInterfaces.c: In function 'CreateHelloSocket':
src/NetworkInterfaces.c:383:16: error: cast increases required alignment of target type [-Werror=cast-align]
src/mdns.c: In function 'ip_checksum':
src/mdns.c:94:18: error: cast increases required alignment of target type [-Werror=cast-align]

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
lib/mdns/src/NetworkInterfaces.c
lib/mdns/src/mdns.c