]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Bus/Pci/UhciDxe/UhciSched.c
Fix compile break on IA32 arch.
[mirror_edk2.git] / MdeModulePkg / Bus / Pci / UhciDxe / UhciSched.c
index 4d6957d70a47392624e471ffa8ecd403343599aa..0052fb12c2078f66ac3ea243c42f1871c5cc0455 100644 (file)
@@ -83,7 +83,7 @@ UhciInitFrameList (
   // Tell the Host Controller where the Frame List lies,\r
   // by set the Frame List Base Address Register.\r
   //\r
-  UhciSetFrameListBaseAddr (Uhc->PciIo, (VOID *) MappedAddr);\r
+  UhciSetFrameListBaseAddr (Uhc->PciIo, (VOID *) (UINTN) MappedAddr);\r
 \r
   //\r
   // Allocate the QH used by sync interrupt/control/bulk transfer.\r