]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Fix build warning generated by ICC and MSVC compilers.
authorjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 26 Nov 2008 01:24:35 +0000 (01:24 +0000)
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 26 Nov 2008 01:24:35 +0000 (01:24 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6725 6f19259b-4bc3-4df7-8a09-765794883524

OptionRomPkg/CirrusLogic5430Dxe/Edid.c

index 73999e3f1531166980daa3da40850e4594e80695..fcbfc024103ecd7ba180f66d265d15568894b85b 100644 (file)
@@ -118,7 +118,7 @@ ReadEdidData (
   UINT64            Signature;\r
 \r
   for (Index = 0; Index < EDID_BLOCK_SIZE * 2; Index ++) {\r
   UINT64            Signature;\r
 \r
   for (Index = 0; Index < EDID_BLOCK_SIZE * 2; Index ++) {\r
-    I2cReadByte (Private->PciIo, 0xa0, Index, &EdidData[Index]);\r
+    I2cReadByte (Private->PciIo, 0xa0, (UINT8)Index, &EdidData[Index]);\r
   }\r
 \r
   //\r
   }\r
 \r
   //\r