linux_inet_diag: avoid pointer aliasing warnings
commit880dbec44c13e3d5a6b858fc2212714f122b71c6
authorEric Wong <normalperson@yhbt.net>
Thu, 16 Jun 2011 07:39:11 +0000 (16 00:39 -0700)
committerEric Wong <normalperson@yhbt.net>
Thu, 16 Jun 2011 07:39:11 +0000 (16 00:39 -0700)
tree8ba6f3f27f75a1b6714283064f8aa74a92b9f989
parent579f0ea63d1f6976a9a312423f45e8d38357ea68
linux_inet_diag: avoid pointer aliasing warnings

No need to cast when C has handy unions.  Maybe the compiler
will be able to make better optimization choices here, but
at least it'll be less noisy.
ext/raindrops/linux_inet_diag.c