shut up strict-aliasing rules warning.

This commit is contained in:
Hajimu UMEMOTO 2006-02-05 09:52:40 +00:00
parent 4d286e9426
commit 8c76311215

View File

@ -416,7 +416,7 @@ in6_gif_attach(sc)
struct gif_softc *sc;
{
sc->encap_cookie6 = encap_attach_func(AF_INET6, -1, gif_encapcheck,
(struct protosw *)&in6_gif_protosw, sc);
(void *)&in6_gif_protosw, sc);
if (sc->encap_cookie6 == NULL)
return EEXIST;
return 0;