summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Bus/Ata/AtaAtapiPassThru/IdeMode.c
diff options
context:
space:
mode:
authorerictian <erictian@6f19259b-4bc3-4df7-8a09-765794883524>2010-10-14 01:33:04 +0000
committererictian <erictian@6f19259b-4bc3-4df7-8a09-765794883524>2010-10-14 01:33:04 +0000
commit5dec0c688ea92257e721eecdaf4fe4bcb15274dc (patch)
treed6a2c7a37c72e01de86bb45b771d8b18f881a07e /MdeModulePkg/Bus/Ata/AtaAtapiPassThru/IdeMode.c
parent75f18f34356b29134a2bd9dbf8cc4889acfc44be (diff)
downloadedk2-platforms-5dec0c688ea92257e721eecdaf4fe4bcb15274dc.tar.xz
fix 32bit build warning
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10935 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Bus/Ata/AtaAtapiPassThru/IdeMode.c')
-rw-r--r--MdeModulePkg/Bus/Ata/AtaAtapiPassThru/IdeMode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Bus/Ata/AtaAtapiPassThru/IdeMode.c b/MdeModulePkg/Bus/Ata/AtaAtapiPassThru/IdeMode.c
index f5669d226b..bdbf3ab450 100644
--- a/MdeModulePkg/Bus/Ata/AtaAtapiPassThru/IdeMode.c
+++ b/MdeModulePkg/Bus/Ata/AtaAtapiPassThru/IdeMode.c
@@ -1448,7 +1448,7 @@ AtaUdmaInOut (
PciIoOperation = EfiPciIoOperationBusMasterRead;
}
- ByteCount = DataLength;
+ ByteCount = (UINTN)DataLength;
Status = PciIo->Map (
PciIo,
PciIoOperation,