From 5dec0c688ea92257e721eecdaf4fe4bcb15274dc Mon Sep 17 00:00:00 2001 From: erictian Date: Thu, 14 Oct 2010 01:33:04 +0000 Subject: fix 32bit build warning git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10935 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Bus/Ata/AtaAtapiPassThru/IdeMode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'MdeModulePkg/Bus/Ata/AtaAtapiPassThru/IdeMode.c') 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, -- cgit v1.2.3