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:
parent
4d286e9426
commit
8c76311215
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=155333
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user