]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Bus/Ata/AtaAtapiPassThru/IdeMode.c
fix 32bit build warning
[mirror_edk2.git] / MdeModulePkg / Bus / Ata / AtaAtapiPassThru / IdeMode.c
index f5669d226b805824a919576e8e41d3cf1f4b902a..bdbf3ab450c7d9638e837bd979799292a56b3a16 100644 (file)
@@ -1448,7 +1448,7 @@ AtaUdmaInOut (
     PciIoOperation = EfiPciIoOperationBusMasterRead;\r
   }\r
 \r
-  ByteCount = DataLength;\r
+  ByteCount = (UINTN)DataLength;\r
   Status    = PciIo->Map (\r
                        PciIo,\r
                        PciIoOperation,\r