MdeModulePkg/UsbBusDxe: Fixed Clang build error.

Contributed-under: TianoCore Contribution Agreement 1.0

Signed-off-by: Nikolai Saoukh <nms@otdel-1.org>
Reviewed-by: Feng Tian <feng.tian@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16084 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
Nikolai Saoukh 2014-09-10 06:14:26 +00:00 committed by erictian
parent 323d3d1118
commit 8d443a166c
2 changed files with 2 additions and 2 deletions

View File

@ -65,7 +65,7 @@ typedef struct {
typedef struct { typedef struct {
USB_INTERFACE_SETTING* Settings[USB_MAX_INTERFACE_SETTING]; USB_INTERFACE_SETTING* Settings[USB_MAX_INTERFACE_SETTING];
UINTN NumOfSetting; UINTN NumOfSetting;
UINT8 ActiveIndex; // Index of active setting UINTN ActiveIndex; // Index of active setting
} USB_INTERFACE_DESC; } USB_INTERFACE_DESC;
typedef struct { typedef struct {

View File

@ -318,7 +318,7 @@ UsbSelectSetting (
) )
{ {
USB_INTERFACE_SETTING *Setting; USB_INTERFACE_SETTING *Setting;
UINT8 Index; UINTN Index;
// //
// Locate the active alternate setting // Locate the active alternate setting