Date: Thu, 25 Apr 2013 17:46:18 +0200 From: "Ian FREISLICH" <ianf@clue.co.za> To: current@freebsd.org Subject: ip_output.c:625: warning: cast discards qualifier Message-ID: <E1UVONG-0000sE-Sh@clue.co.za>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1UVONG-0000sE-Sh>