Date: Wed, 27 Feb 2002 15:44:03 +0100 From: Christopher Sharp <christopher_sharp@web.de> To: current@freebsd.org Subject: Re: Why is xe building while commented out? Message-ID: <20020227154403.A16030@mephisto.cthulhu.net> In-Reply-To: <20020226155132.O89108-100000@midearth.org>; from slpalmer@midearth.org on Tue, Feb 26, 2002 at 03:57:41PM -0600 References: <20020226214312.GC99775@peitho.fxp.org> <20020226155132.O89108-100000@midearth.org>
next in thread | previous in thread | raw e-mail | index | archive | help
* Stephen L. Palmer (slpalmer@midearth.org) wrote:
> /usr/src/sys/dev/isp/isp.c: In function `isp_reset':
> /usr/src/sys/dev/isp/isp.c:633: warning: cast discards qualifiers from
> pointer target type
> *** Error code 1
A small workaround is to change:
- const u_int16_t *dv_ispfw; /* ptr to f/w */
+ u_int16_t *dv_ispfw; /* ptr to f/w */
in src/sys/dev/isp/ispvar.h:76
I don't know if this is ok but I does at least make the kernel build
and should not hurt as long as you don't use the isp device
- Christopher Sharp
--
"I do not know myself, and God forbid that I should."
-- Johann Wolfgang von Goethe
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020227154403.A16030>
