]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdeModulePkg/XhciDxe: Fix ICC compiler build warning.
authorFeng Tian <feng.tian@intel.com>
Fri, 13 Dec 2013 01:43:27 +0000 (01:43 +0000)
committererictian <erictian@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 13 Dec 2013 01:43:27 +0000 (01:43 +0000)
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

MdeModulePkg/Bus/Pci/XhciDxe/Xhci.c

index 7546143ba546578b2b19453f3cb55bec7361cbfd..a831abe772e84fbec1c483b618bb7d8a87ec5fea 100644 (file)
@@ -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);
     }
   }