diff options
author | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-08-14 07:25:20 +0000 |
---|---|---|
committer | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-08-14 07:25:20 +0000 |
commit | 83c7c8036cf911a5c61353810c220033c06ebec6 (patch) | |
tree | c4fadaf2055b177dbbe157c4ab903ad401c1d80e /MdePkg/Library/UefiUsbLib | |
parent | 95ac6ef6400c80f5bb2a0fe9525069d420740d74 (diff) | |
download | edk2-platforms-83c7c8036cf911a5c61353810c220033c06ebec6.tar.xz |
Minor refinement on source code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10797 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/UefiUsbLib')
-rw-r--r-- | MdePkg/Library/UefiUsbLib/Hid.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MdePkg/Library/UefiUsbLib/Hid.c b/MdePkg/Library/UefiUsbLib/Hid.c index f1a635224b..29d4e9dcf7 100644 --- a/MdePkg/Library/UefiUsbLib/Hid.c +++ b/MdePkg/Library/UefiUsbLib/Hid.c @@ -3,7 +3,7 @@ The library provides USB HID Class standard and specific requests defined
in USB HID Firmware Specification 7 section : Requests.
- Copyright (c) 2004 - 2008, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2004 - 2010, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -67,7 +67,7 @@ UsbGetHidDescriptor ( Request.Request = USB_REQ_GET_DESCRIPTOR;
Request.Value = (UINT16) (USB_DESC_TYPE_HID << 8);
Request.Index = Interface;
- Request.Length = sizeof (EFI_USB_HID_DESCRIPTOR);
+ Request.Length = (UINT16) sizeof (EFI_USB_HID_DESCRIPTOR);
Result = UsbIo->UsbControlTransfer (
UsbIo,
|