On 3/21/10 5:38 PM, Kevin O'Connor wrote:
> Otherwise, the compiler didn't stop the cast - it's just generating a
> warning that it's dangerous.  (That is, it's letting the user know
> that any memory accesses via the "unsigned char *" reference wont
> necessarily be seen from the "struct acpi_hdr *" reference and
> vice-versa.)
>   

So making both (or even one of them) const should help?

-- 
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to