Subject: can anyone help me fix warning: cast discards qualifiers from pointer
To: None <current-users@netbsd.org>
From: Hisashi T Fujinaka <htodd@twofifty.com>
List: current-users
Date: 06/01/2005 22:34:51
In src/sys/arch/i386/isa/pccons.c lines 1251 and 1252 give the error:
/usr/src/sys/arch/i386/isa/pccons.c:1251: warning: cast discards qualifiers from pointer target type
/usr/src/sys/arch/i386/isa/pccons.c:1252: warning: cast discards qualifiers from pointer target type

I'm not sure how to fix this error. Can anyone help me out here? I do
have some c programming under my belt but I've never seen this error. I
also can't seem to find any information using google, since I just get
people reporting this warning and few fixes.

Thanks.

-- 
Hisashi T Fujinaka - htodd@twofifty.com
BSEE(6/86) + BSChem(3/95) + BAEnglish(8/95) + MSCS(8/03) + $2.50 = latte