From fe186365de5a889037798295e9f01cd6c12126e9 Mon Sep 17 00:00:00 2001 From: jljusten Date: Wed, 26 Nov 2008 01:24:35 +0000 Subject: Fix build warning generated by ICC and MSVC compilers. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6725 6f19259b-4bc3-4df7-8a09-765794883524 --- OptionRomPkg/CirrusLogic5430Dxe/Edid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OptionRomPkg') diff --git a/OptionRomPkg/CirrusLogic5430Dxe/Edid.c b/OptionRomPkg/CirrusLogic5430Dxe/Edid.c index 73999e3..fcbfc02 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]); } // -- cgit v1.1