diff options
author | Nikolai Saoukh <nms@otdel-1.org> | 2014-09-10 06:14:26 +0000 |
---|---|---|
committer | erictian <erictian@6f19259b-4bc3-4df7-8a09-765794883524> | 2014-09-10 06:14:26 +0000 |
commit | 8d443a166cc244d9534f6e9bec9080eb4a32b9d5 (patch) | |
tree | fd39626e38c8f5aca78692516d1a6b20731d8781 /MdeModulePkg | |
parent | 323d3d111843cb4fbdf4f9918f72d305e63bc091 (diff) | |
download | edk2-8d443a166cc244d9534f6e9bec9080eb4a32b9d5.tar.gz edk2-8d443a166cc244d9534f6e9bec9080eb4a32b9d5.tar.bz2 edk2-8d443a166cc244d9534f6e9bec9080eb4a32b9d5.zip |
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
Diffstat (limited to 'MdeModulePkg')
-rw-r--r-- | MdeModulePkg/Bus/Usb/UsbBusDxe/UsbDesc.h | 2 | ||||
-rw-r--r-- | MdeModulePkg/Bus/Usb/UsbBusDxe/UsbEnumer.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbDesc.h b/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbDesc.h index 11570ab36d..482a71f338 100644 --- a/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbDesc.h +++ b/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbDesc.h @@ -65,7 +65,7 @@ typedef struct { typedef struct {
USB_INTERFACE_SETTING* Settings[USB_MAX_INTERFACE_SETTING];
UINTN NumOfSetting;
- UINT8 ActiveIndex; // Index of active setting
+ UINTN ActiveIndex; // Index of active setting
} USB_INTERFACE_DESC;
typedef struct {
diff --git a/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbEnumer.c b/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbEnumer.c index 430f5aa3dc..f4aad66baf 100644 --- a/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbEnumer.c +++ b/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbEnumer.c @@ -318,7 +318,7 @@ UsbSelectSetting ( )
{
USB_INTERFACE_SETTING *Setting;
- UINT8 Index;
+ UINTN Index;
//
// Locate the active alternate setting
|