Hi!
Flashrom fails to compile on x86_64 with these errors:
cc1: warnings being treated as errors
layout.c: In function 'show_id':
layout.c:68: warning: cast from pointer to integer of different size
layout.c:70: warning: cast from pointer to integer of different size

The corresponding lines of code:
68:             (!isprint((const char *)(bios + size - *(walk - 1))) &&
69:             ((const char *)(bios + size - *(walk - 1)))) ||
70:             (!isprint((const char *)(bios + size - *(walk - 2))) &&
71:             ((const char *)(bios + size - *(walk - 2))))) {

Can someone check-in a fix? (Indirection omitted?)

-- 
Sergei

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

Reply via email to