1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-12 09:58:36 +00:00

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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=155333

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;