intel_extreme: use int cast to please the grumpy oldtimer gcc2
This commit is contained in:
parent
39a3fe56de
commit
aacc409159
@ -144,7 +144,7 @@ get_bios(void)
|
||||
kVBIOSAddress, vbios.memory));
|
||||
|
||||
int vbtOffset = vbios.ReadWord(kVbtPointer);
|
||||
if ((vbtOffset + sizeof(vbt_header)) >= kVBIOSSize) {
|
||||
if ((vbtOffset + (int)sizeof(vbt_header)) >= kVBIOSSize) {
|
||||
TRACE((DEVICE_NAME": bad VBT offset : 0x%x\n", vbtOffset));
|
||||
delete_area(vbios.area);
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user