From 83c7c8036cf911a5c61353810c220033c06ebec6 Mon Sep 17 00:00:00 2001 From: qhuang8 Date: Sat, 14 Aug 2010 07:25:20 +0000 Subject: [PATCH] Minor refinement on source code. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10797 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Library/UefiUsbLib/Hid.c | 4 ++-- 1 file 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.
+ Copyright (c) 2004 - 2010, Intel Corporation. All rights reserved.
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, -- 2.39.2