mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-08 17:05:09 +02:00
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:
parent
323d3d1118
commit
8d443a166c
@ -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 {
|
||||
|
@ -318,7 +318,7 @@ UsbSelectSetting (
|
||||
)
|
||||
{
|
||||
USB_INTERFACE_SETTING *Setting;
|
||||
UINT8 Index;
|
||||
UINTN Index;
|
||||
|
||||
//
|
||||
// Locate the active alternate setting
|
||||
|
Loading…
x
Reference in New Issue
Block a user