summaryrefslogtreecommitdiff
path: root/src/soc/intel/common/block/xhci/xhci.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/common/block/xhci/xhci.c')
-rw-r--r--src/soc/intel/common/block/xhci/xhci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/common/block/xhci/xhci.c b/src/soc/intel/common/block/xhci/xhci.c
index 4a408343a6..a12f875bfe 100644
--- a/src/soc/intel/common/block/xhci/xhci.c
+++ b/src/soc/intel/common/block/xhci/xhci.c
@@ -27,7 +27,7 @@ static uint8_t *xhci_mem_base(void)
if (mem_base == 0 || mem_base == 0xffffffff)
return 0;
- return (uint8_t *)(mem_base & ~PCI_BASE_ADDRESS_MEM_ATTR_MASK);
+ return (uint8_t *)(uintptr_t)(mem_base & ~PCI_BASE_ADDRESS_MEM_ATTR_MASK);
}
void xhci_host_reset(void)