summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFeng Tian <feng.tian@intel.com>2013-12-13 01:43:27 +0000
committererictian <erictian@6f19259b-4bc3-4df7-8a09-765794883524>2013-12-13 01:43:27 +0000
commitddc0be58660a396471e1035e2d45d2b4a33ebd9f (patch)
tree29d804ece60d6b430d7b3808c68ce2906f759c9a
parent6ba2921da3c0b7db303b6db44810158a1fefd737 (diff)
downloadedk2-ddc0be58660a396471e1035e2d45d2b4a33ebd9f.tar.gz
edk2-ddc0be58660a396471e1035e2d45d2b4a33ebd9f.tar.bz2
edk2-ddc0be58660a396471e1035e2d45d2b4a33ebd9f.zip
MdeModulePkg/XhciDxe: Fix ICC compiler build warning.
Signed-off-by: Feng Tian <feng.tian@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14976 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--MdeModulePkg/Bus/Pci/XhciDxe/Xhci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Bus/Pci/XhciDxe/Xhci.c b/MdeModulePkg/Bus/Pci/XhciDxe/Xhci.c
index 7546143ba5..a831abe772 100644
--- a/MdeModulePkg/Bus/Pci/XhciDxe/Xhci.c
+++ b/MdeModulePkg/Bus/Pci/XhciDxe/Xhci.c
@@ -451,7 +451,7 @@ XhcGetRootHubPortStatus (
for (Index = 0; Index < MapSize; Index++) {
if (XHC_BIT_IS_SET (State, mUsbClearPortChangeMap[Index].HwState)) {
- XhcClearRootHubPortFeature (This, PortNumber, mUsbClearPortChangeMap[Index].Selector);
+ XhcClearRootHubPortFeature (This, PortNumber, (EFI_USB_PORT_FEATURE)mUsbClearPortChangeMap[Index].Selector);
}
}