summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2008-11-26 01:24:35 +0000
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2008-11-26 01:24:35 +0000
commitfe186365de5a889037798295e9f01cd6c12126e9 (patch)
tree0a0f0539ae853b07d7cf14ce5d268f9dc889462b
parent35a646e20472cf045caee7ff2fb076fefe20c2e0 (diff)
downloadedk2-platforms-fe186365de5a889037798295e9f01cd6c12126e9.tar.xz
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
-rw-r--r--OptionRomPkg/CirrusLogic5430Dxe/Edid.c2
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]);
}
//