diff options
author | erictian <erictian@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-08-25 10:19:11 +0000 |
---|---|---|
committer | erictian <erictian@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-08-25 10:19:11 +0000 |
commit | ce9b590040986cad621a744bf595df400e378134 (patch) | |
tree | 3f3b5b20d412897fcea76518ea1589030eb415aa /MdeModulePkg/Bus/Usb | |
parent | 1476a2576160018e56f628fe85c3d23b2db959a8 (diff) | |
download | edk2-platforms-ce9b590040986cad621a744bf595df400e378134.tar.xz |
Fixed build error reported by ICC and GCC
Signed-off-by: erictian
Reviewed-by: li-elvin
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12209 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Bus/Usb')
-rw-r--r-- | MdeModulePkg/Bus/Usb/UsbBusDxe/UsbEnumer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbEnumer.c b/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbEnumer.c index b004212fa2..aacc67fef1 100644 --- a/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbEnumer.c +++ b/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbEnumer.c @@ -233,7 +233,7 @@ UsbCreateDevice ( Device->ParentAddr = ParentIf->Device->Address;
Device->ParentIf = ParentIf;
Device->ParentPort = ParentPort;
- Device->Tier = ParentIf->Device->Tier + 1;
+ Device->Tier = (UINT8)(ParentIf->Device->Tier + 1);
return Device;
}
|