mirror of https://github.com/acidanthera/audk.git
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 {
|
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 {
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue