Clean up for GCC and Intel ICC build.
[people/mcb30/edk2.git] / edk2 / MdeModulePkg / Bus / Usb / UsbBusDxe / UsbEnumer.c
index f5ec52d..b7c66fe 100644 (file)
@@ -720,7 +720,7 @@ UsbEnumerateNewDev (
     //\r
     if (Parent->Speed == EFI_USB_SPEED_HIGH) {\r
       Child->Translator.TranslatorHubAddress  = Parent->Address;\r
-      Child->Translator.TranslatorPortNumber  = Port + 1;\r
+      Child->Translator.TranslatorPortNumber  = (UINT8) (Port + 1);\r
 \r
     } else {\r
       Child->Translator = Parent->Translator;\r