[coreboot] [Patch] remove some warnings

Stefan Reinauer stepan at coresystems.de
Sun Mar 21 18:23:43 CET 2010

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?

More information about the coreboot mailing list