diff options
-rw-r--r-- | OptionRomPkg/CirrusLogic5430Dxe/Edid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OptionRomPkg/CirrusLogic5430Dxe/Edid.c b/OptionRomPkg/CirrusLogic5430Dxe/Edid.c index 73999e3f15..fcbfc02410 100644 --- a/OptionRomPkg/CirrusLogic5430Dxe/Edid.c +++ b/OptionRomPkg/CirrusLogic5430Dxe/Edid.c @@ -118,7 +118,7 @@ ReadEdidData ( UINT64 Signature;
for (Index = 0; Index < EDID_BLOCK_SIZE * 2; Index ++) {
- I2cReadByte (Private->PciIo, 0xa0, Index, &EdidData[Index]);
+ I2cReadByte (Private->PciIo, 0xa0, (UINT8)Index, &EdidData[Index]);
}
//
|