diff --git a/src/add-ons/kernel/drivers/graphics/intel_extreme/bios.cpp b/src/add-ons/kernel/drivers/graphics/intel_extreme/bios.cpp index 8421eec0df..d386f85da5 100644 --- a/src/add-ons/kernel/drivers/graphics/intel_extreme/bios.cpp +++ b/src/add-ons/kernel/drivers/graphics/intel_extreme/bios.cpp @@ -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;