summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Bus/Pci/UhciDxe/UhciQueue.c
diff options
context:
space:
mode:
Diffstat (limited to 'MdeModulePkg/Bus/Pci/UhciDxe/UhciQueue.c')
-rw-r--r--MdeModulePkg/Bus/Pci/UhciDxe/UhciQueue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Bus/Pci/UhciDxe/UhciQueue.c b/MdeModulePkg/Bus/Pci/UhciDxe/UhciQueue.c
index 7a53f36a60..1a0aa6e636 100644
--- a/MdeModulePkg/Bus/Pci/UhciDxe/UhciQueue.c
+++ b/MdeModulePkg/Bus/Pci/UhciDxe/UhciQueue.c
@@ -355,7 +355,7 @@ UhciCreateSetupTd (
Td->TdHw.DataBuffer = (UINT32) (UINTN) RequestPhy;
Td->Data = Request;
- Td->DataLen = sizeof (EFI_USB_DEVICE_REQUEST);
+ Td->DataLen = (UINT16) sizeof (EFI_USB_DEVICE_REQUEST);
return Td;
}