ip_output.c:625: warning: cast discards qualifier
Ian FREISLICH
ianf at clue.co.za
Thu Apr 25 15:46:30 UTC 2013
Hi
/usr/src/sys/netinet/ip_output.c: In function 'ip_output':
/usr/src/sys/netinet/ip_output.c:625: warning: cast discards qualifiers from pointer target type
/usr/src/sys/netinet/ip_output.c:659: warning: cast discards qualifiers from pointer target type
*** [ip_output.o] Error code 1
gw is defined 'const'.
@625:
error = (*ifp->if_output)(ifp, m, (struct sockaddr *)gw, ro)
if_output arg3 needs to be protoyped const or gw needs to not be
declared const.
Ian
--
Ian Freislich
More information about the freebsd-current
mailing list